From 594bcb5605cf0d8cdad8dd0d607f2b7ae61b140c Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 3 Apr 2019 14:05:21 +0200 Subject: [PATCH] fix master --- php_apfd.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.30.2