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

From: Date: Wed, 16 Nov 2011 03:58:57 +0000
Subject: svn: /php/php-src/branches/PHP_5_3/sapi/litespeed/ lsapi_main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-67005@lists.php.net to get a copy of this message
gwang Wed, 16 Nov 2011 03:58:57 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=319293 Log: keep code to be compatible with PHP4 Changed paths: U php/php-src/branches/PHP_5_3/sapi/litespeed/lsapi_main.c Modified: php/php-src/branches/PHP_5_3/sapi/litespeed/lsapi_main.c =================================================================== --- php/php-src/branches/PHP_5_3/sapi/litespeed/lsapi_main.c 2011-11-16 03:46:54 UTC (rev 319292) +++ php/php-src/branches/PHP_5_3/sapi/litespeed/lsapi_main.c 2011-11-16 03:58:57 UTC (rev 319293) @@ -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 (#67005) next »