php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch override-zend-fastcall for *Extensibility Functions Bug #78270

Patch version 2019-07-22 10:56 UTC

Return to Bug #78270 | Download this patch
Patch Revisions:

Developer: cmb@php.net

 Zend/zend_portability.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h
index 89173642d2..fb83e4bdd4 100644
--- a/Zend/zend_portability.h
+++ b/Zend/zend_portability.h
@@ -251,6 +251,7 @@ char *alloca();
 # define ZEND_ATTRIBUTE_HOT_LABEL
 #endif
 
+#ifndef ZEND_FASTCALL
 #if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004 && defined(__i386__)
 # define ZEND_FASTCALL __attribute__((fastcall))
 #elif defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER == 1700
@@ -260,6 +261,7 @@ char *alloca();
 #else
 # define ZEND_FASTCALL
 #endif
+#endif
 
 #if (defined(__GNUC__) && __GNUC__ >= 3 && !defined(__INTEL_COMPILER) && !defined(DARWIN) && !defined(__hpux) && !defined(_AIX) && !defined(__osf__)) || __has_attribute(noreturn)
 # define HAVE_NORETURN
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 18:01:29 2024 UTC