summaryrefslogtreecommitdiffstats
path: root/audio/guitarix/patches/0003-fix-build-even-for-gcc4.8.patch
blob: 50c64372ade3bcd5a3046b606d3cc654bada8f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
From 995a692e807a5812a356d08d4d4adb1d72e67a7d Mon Sep 17 00:00:00 2001
From: Hermann Meyer <brummer-@web.de>
Date: Mon, 9 Nov 2015 13:06:45 +0100
Subject: [PATCH 3/3]  * fix build even for gcc4.8

---
 trunk/src/LV2/DSP/gx_common.h | 4 ++--
 trunk/src/headers/gx_system.h | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/trunk/src/LV2/DSP/gx_common.h b/trunk/src/LV2/DSP/gx_common.h
index 0a3e44b..282c765 100644
--- a/trunk/src/LV2/DSP/gx_common.h
+++ b/trunk/src/LV2/DSP/gx_common.h
@@ -35,7 +35,7 @@
 /* On Intel set FZ (Flush to Zero) and DAZ (Denormals Are Zero)
    flags to avoid costly denormals */
 #ifdef __SSE3__
-#ifndef _X86INTRIN_H_INCLUDED
+#ifndef _PMMINTRIN_H_INCLUDED
 #include <pmmintrin.h>
 #endif //ndef
 inline void AVOIDDENORMALS()
@@ -44,7 +44,7 @@ inline void AVOIDDENORMALS()
   _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
 }
 #else
-#ifndef _X86INTRIN_H_INCLUDED
+#ifndef _XMMINTRIN_H_INCLUDED
 #include <xmmintrin.h>
 #endif //ndef
 inline void AVOIDDENORMALS()
diff --git a/trunk/src/headers/gx_system.h b/trunk/src/headers/gx_system.h
index 7bf35f8..abf1e06 100644
--- a/trunk/src/headers/gx_system.h
+++ b/trunk/src/headers/gx_system.h
@@ -51,7 +51,7 @@ inline unsigned int get_fpu_status_bits() {
 /* On Intel set FZ (Flush to Zero) and DAZ (Denormals Are Zero)
    flags to avoid costly denormals */
 #ifdef __SSE3__
-#ifndef _X86INTRIN_H_INCLUDED
+#ifndef _PMMINTRIN_H_INCLUDED
 #include <pmmintrin.h>
 #endif //ndef
 inline void AVOIDDENORMALS() {
@@ -59,14 +59,14 @@ inline void AVOIDDENORMALS() {
     _MM_SET_DENORMALS_ZERO_MODE(_MM_DENORMALS_ZERO_ON);
 }
 #else
-#ifndef _X86INTRIN_H_INCLUDED
+#ifndef _XMMINTRIN_H_INCLUDED
 #include <xmmintrin.h>
 #endif //ndef
 inline void AVOIDDENORMALS() { _MM_SET_FLUSH_ZERO_MODE(_MM_FLUSH_ZERO_ON); }
 #endif //__SSE3__
 
 #else
-#ifndef _X86INTRIN_H_INCLUDED
+#ifndef _XMMINTRIN_H_INCLUDED
 inline void _MM_SET_EXCEPTION_STATE(unsigned int __mask) {}
 inline unsigned int _MM_GET_EXCEPTION_STATE(void) { return 0; }
 #endif //ndef
-- 
1.8.4