summaryrefslogtreecommitdiff
path: root/msvc_extra_headers/ardourext/float_cast.h.input
diff options
context:
space:
mode:
Diffstat (limited to 'msvc_extra_headers/ardourext/float_cast.h.input')
-rw-r--r--msvc_extra_headers/ardourext/float_cast.h.input9
1 files changed, 6 insertions, 3 deletions
diff --git a/msvc_extra_headers/ardourext/float_cast.h.input b/msvc_extra_headers/ardourext/float_cast.h.input
index 94433da965..73eb2c38f6 100644
--- a/msvc_extra_headers/ardourext/float_cast.h.input
+++ b/msvc_extra_headers/ardourext/float_cast.h.input
@@ -40,8 +40,9 @@
#include <math.h>
- /* Win32 doesn't seem to have these functions.
- ** Therefore implement inline versions of these functions here.
+#if defined(_MSC_VER) && (_MSC_VER < 1900)
+/* Win32 doesn't seem to have these functions.
+ * Therefore implement inline versions of these functions here.
*/
__inline long int
@@ -115,6 +116,8 @@
return intgr ;
}
-#endif
+#endif // _MSC_VER && _MSC_VER < 1900
+
+#endif // _WIN32 || WIN32
#endif // __FLOAT_CAST_H__