svn: /php/php-src/branches/PHP_5_4/sapi/litespeed/ lsapi_main.c

From: Date: Wed, 16 Nov 2011 04:00:28 +0000
Subject: svn: /php/php-src/branches/PHP_5_4/sapi/litespeed/ lsapi_main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-67006@lists.php.net to get a copy of this message
gwang Wed, 16 Nov 2011 04:00:28 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=319294 Log: keep code to be compatible with PHP4 Changed paths: U php/php-src/branches/PHP_5_4/sapi/litespeed/lsapi_main.c Modified: php/php-src/branches/PHP_5_4/sapi/litespeed/lsapi_main.c =================================================================== --- php/php-src/branches/PHP_5_4/sapi/litespeed/lsapi_main.c 2011-11-16 03:58:57 UTC (rev 319293) +++ php/php-src/branches/PHP_5_4/sapi/litespeed/lsapi_main.c 2011-11-16 04:00:28 UTC (rev 319294) @@ -986,11 +986,17 @@ /* LiteSpeed PHP module starts here */ +#if PHP_MAJOR_VERSION > 4 + /* {{{ arginfo */ ZEND_BEGIN_ARG_INFO(arginfo_litespeed__void, 0) ZEND_END_ARG_INFO() /* }}} */ +#else +#define arginfo_litespeed__void NULL +#endif + PHP_FUNCTION(litespeed_request_headers); PHP_FUNCTION(litespeed_response_headers);

« previous php.cvs (#67006) next »