From 7bc162f928fe8144eddf95ca4bda5377787c8720 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 13 Feb 2019 16:52:46 +0100 Subject: Work around compiler flag dependent ABI --- Zend/zend_portability.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend_portability.h') diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h index 108eb7e791..12e99b74d8 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -577,7 +577,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) -- cgit v1.2.1