blob: 04ef41da2eb863707acbed859c8e60510a28362a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
+
|