com php-src: Use #ifdef instead of #if: Zend/zend_portability .h
| From: | Nikita Popov | Date: | Thu, 14 Feb 2019 10:56:33 +0000 |
| Subject: | com php-src: Use #ifdef instead of #if: Zend/zend_portability .h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104634@lists.php.net to get a copy of this message | ||
Commit: dab54624842e76350bb6f5e71a8ef0f53ed34630
Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 14 Feb 2019 11:56:33 +0100
Parents: 96daef0458e2ae7cef4079f9a75cf90fff4b4e02
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dab54624842e76350bb6f5e71a8ef0f53ed34630
Log:
Use #ifdef instead of #if
Changed paths:
M Zend/zend_portability.h
Diff:
diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h
index 577f8a9..90e6729 100644
--- a/Zend/zend_portability.h
+++ b/Zend/zend_portability.h
@@ -576,7 +576,7 @@ static zend_always_inline double _zend_get_nan(void) /* {{{ */
# define ZEND_INTRIN_SSSE3_FUNC_DECL(func)
#endif
-#if __SSE4_2__
+#ifdef __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)