cvs: ZendEngine2(PHP_5_3) / zend.h

From: Date: Mon, 01 Jun 2009 17:51:54 +0000
Subject: cvs: ZendEngine2(PHP_5_3) / zend.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-7639@lists.php.net to get a copy of this message
nlopess Mon Jun 1 17:51:54 2009 UTC Modified files: (Branch: PHP_5_3) /ZendEngine2 zend.h Log: fix compiler warnings by moving all std includes after include of zend_config.h. this also fixes the build with stricter compilers than gcc (like clang) http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.h?r1=1.293.2.11.2.9.2.34&r2=1.293.2.11.2.9.2.35&diff_format=u Index: ZendEngine2/zend.h diff -u ZendEngine2/zend.h:1.293.2.11.2.9.2.34 ZendEngine2/zend.h:1.293.2.11.2.9.2.35 --- ZendEngine2/zend.h:1.293.2.11.2.9.2.34 Mon Jun 1 15:07:42 2009 +++ ZendEngine2/zend.h Mon Jun 1 17:51:53 2009 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend.h,v 1.293.2.11.2.9.2.34 2009/06/01 15:07:42 lbarnaud Exp $ */ +/* $Id: zend.h,v 1.293.2.11.2.9.2.35 2009/06/01 17:51:53 nlopess Exp $ */ #ifndef ZEND_H #define ZEND_H @@ -34,8 +34,6 @@ #define END_EXTERN_C() #endif -#include <stdio.h> - /* * general definitions */ @@ -67,6 +65,8 @@ /* all HAVE_XXX test have to be after the include of zend_config above */ +#include <stdio.h> + #ifdef HAVE_UNIX_H # include <unix.h> #endif

« previous php.zend-engine.cvs (#7639) next »