summaryrefslogtreecommitdiff
path: root/Zend/zend_portability.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-02-14 10:02:58 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-02-14 10:02:58 +0100
commit3ece2640ea97027636e321e6f6e112dff815bea7 (patch)
treeff5784cb8ef2556360b6811a97967df906b77b5c /Zend/zend_portability.h
parentea3cda0315852190a1bbf2ef16ca62a6410c3615 (diff)
parent7bc162f928fe8144eddf95ca4bda5377787c8720 (diff)
downloadphp-git-3ece2640ea97027636e321e6f6e112dff815bea7.tar.gz
Merge branch 'PHP-7.3' into PHP-7.4
Diffstat (limited to 'Zend/zend_portability.h')
-rw-r--r--Zend/zend_portability.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h
index cc11bb4b40..e550651753 100644
--- a/Zend/zend_portability.h
+++ b/Zend/zend_portability.h
@@ -575,7 +575,7 @@ static zend_always_inline double _zend_get_nan(void) /* {{{ */
# define ZEND_INTRIN_SSSE3_FUNC_DECL(func)
#endif
-#ifdef __SSE4_2__
+#if defined(HAVE_SSE4_2_DEF) || (defined(ZEND_WIN32) && defined(__SSE4_2__))
/* Instructions compiled directly. */
# define ZEND_INTRIN_SSE4_2_NATIVE 1
#elif (defined(HAVE_FUNC_ATTRIBUTE_TARGET) && defined(PHP_HAVE_SSE4_2)) || defined(ZEND_WIN32)