]> granicus.if.org Git - php/commitdiff
- fix vc6 build
authorPierre Joye <pajoye@php.net>
Thu, 15 Jul 2010 00:13:20 +0000 (00:13 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 15 Jul 2010 00:13:20 +0000 (00:13 +0000)
Zend/zend_float.h

index 3cdb2422636b182fabfcc888a848d2500afb67a5..86fa7fb54a25765bea2e4b1271d41c8697bb41cb 100644 (file)
@@ -78,7 +78,9 @@ extern ZEND_API void zend_ensure_fpu_mode(TSRMLS_D);
 #  define HAVE__CONTROLFP
 # endif /* MSC_VER >= 1500 */
   /* Tell MSVC optimizer that we access FP environment */
-# pragma fenv_access (on)
+# if _MSC_VER >= 1500
+#  pragma fenv_access (on)
+# endif
 #endif /* _MSC_VER */
 
 #ifdef HAVE__CONTROLFP_S