Skip to content

Commit f35e10e

Browse files
committed
- fix vc6 build
1 parent f33d2c5 commit f35e10e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: Zend/zend_float.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ extern ZEND_API void zend_ensure_fpu_mode(TSRMLS_D);
7878
# define HAVE__CONTROLFP
7979
# endif /* MSC_VER >= 1500 */
8080
/* Tell MSVC optimizer that we access FP environment */
81-
# pragma fenv_access (on)
81+
# if _MSC_VER >= 1500
82+
# pragma fenv_access (on)
83+
# endif
8284
#endif /* _MSC_VER */
8385

8486
#ifdef HAVE__CONTROLFP_S

0 commit comments

Comments
 (0)