php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62346
Patch zend.h.diff revision 2012-06-17 20:10 UTC by mamfelt at gmail dot com

Patch zend.h.diff for Compile Warning Bug #62346

Patch version 2012-06-17 20:10 UTC

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

Developer: mamfelt@gmail.com

*** Zend/zend.h.orig	2012-05-08 11:22:27 +0200
--- Zend/zend.h	2012-06-17 19:56:41 +0200
*************** char *alloca ();
*** 174,183 ****
--- 174,185 ----
  # define ZEND_FASTCALL
  #endif
  
+ #if !defined(__restrict__)
  #if defined(__GNUC__) && ZEND_GCC_VERSION >= 3004
  #else
  # define __restrict__
  #endif
+ #endif
  #define restrict __restrict__
  
  #if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 11:01:33 2024 UTC