From f35e10e17ff624b1ccf08cdec74ca1fa6fa99aff Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Thu, 15 Jul 2010 00:13:20 +0000 Subject: - fix vc6 build --- Zend/zend_float.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Zend/zend_float.h') diff --git a/Zend/zend_float.h b/Zend/zend_float.h index 3cdb242263..86fa7fb54a 100644 --- a/Zend/zend_float.h +++ b/Zend/zend_float.h @@ -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 -- cgit v1.2.1