From: Ilia Alshanetsky Date: Tue, 13 Dec 2005 02:07:23 +0000 (+0000) Subject: fixed build X-Git-Tag: RELEASE_0_20_0~16 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=4546a3572ba7944441f49136fec96c4afd490396;p=m6w6%2Fext-http fixed build --- diff --git a/http_request_body_api.c b/http_request_body_api.c index bde3f8e..423dda0 100644 --- a/http_request_body_api.c +++ b/http_request_body_api.c @@ -28,7 +28,7 @@ ZEND_EXTERN_MODULE_GLOBALS(http); /* {{{ http_request_body *http_request_body_new() */ -PHP_HTTP_API http_request_body *_http_request_body_new(TSRMLS_D ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) +PHP_HTTP_API http_request_body *_http_request_body_new(ZEND_FILE_LINE_D ZEND_FILE_LINE_ORIG_DC TSRMLS_DC) { return (http_request_body *) ecalloc_rel(1, sizeof(http_request_body)); } diff --git a/php_http_request_body_api.h b/php_http_request_body_api.h index 4b2dd18..dbdcedf 100644 --- a/php_http_request_body_api.h +++ b/php_http_request_body_api.h @@ -26,8 +26,9 @@ typedef struct { size_t size; } http_request_body; -#define http_request_body_new() _http_request_body_new(TSRMLS_C ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC) -PHP_HTTP_API http_request_body *_http_request_body_new(TSRMLS_D ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC); + +PHP_HTTP_API http_request_body *_http_request_body_new(ZEND_FILE_LINE_D ZEND_FILE_LINE_ORIG_DC TSRMLS_DC); +#define http_request_body_new() _http_request_body_new(ZEND_FILE_LINE_C ZEND_FILE_LINE_EMPTY_CC TSRMLS_CC) #define http_request_body_fill(b, fields, files) _http_request_body_fill((b), (fields), (files) TSRMLS_CC) PHP_HTTP_API STATUS _http_request_body_fill(http_request_body *body, HashTable *fields, HashTable *files TSRMLS_DC);