From: Michael Wallner Date: Wed, 3 Apr 2019 12:05:21 +0000 (+0200) Subject: fix master X-Git-Tag: v1.0.2~5 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-apfd;a=commitdiff_plain;h=594bcb5605cf0d8cdad8dd0d607f2b7ae61b140c fix master --- diff --git a/php_apfd.c b/php_apfd.c index da178eb..48e767f 100644 --- a/php_apfd.c +++ b/php_apfd.c @@ -96,6 +96,10 @@ static inline void apfd_update(struct apfd *apfd TSRMLS_DC) PHP_RINIT_FUNCTION(apfd) { +#ifndef TSRMLS_C +# define TSRMLS_C +# define TSRMLS_CC +#endif /* populate form data on non-POST requests */ if (SG(request_info).request_method && strcasecmp(SG(request_info).request_method, "POST") && SG(request_info).content_type && *SG(request_info).content_type) { char *ct_str, *ct_dup = estrdup(SG(request_info).content_type);