summaryrefslogtreecommitdiff
path: root/audio/mixxx/files/patch-src_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mixxx/files/patch-src_defs.h')
-rw-r--r--audio/mixxx/files/patch-src_defs.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/mixxx/files/patch-src_defs.h b/audio/mixxx/files/patch-src_defs.h
new file mode 100644
index 000000000000..04ef41da2eb8
--- /dev/null
+++ b/audio/mixxx/files/patch-src_defs.h
@@ -0,0 +1,17 @@
+--- src/defs.h.orig 2013-05-08 23:20:26 UTC
++++ src/defs.h
+@@ -87,6 +87,8 @@ inline double zap_denormal(double x)
+ #define math_min(a,b) (((a) < (b)) ? (a) : (b))
+ #endif
+
++#if !defined(__GNUC__)
++
+ // MSVC 2005/2008 needs these
+ #ifndef fmax
+ #define fmax math_max
+@@ -98,3 +100,5 @@ inline double zap_denormal(double x)
+
+ #endif
+
++#endif
++