projects
/
m6w6
/
ext-apfd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
ee3ecbc
)
fix master
author
Michael Wallner
<mike@php.net>
Wed, 3 Apr 2019 12:05:21 +0000
(14:05 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 3 Apr 2019 12:05:21 +0000
(14:05 +0200)
php_apfd.c
patch
|
blob
|
history
diff --git
a/php_apfd.c
b/php_apfd.c
index da178eb7b3ab65bd0a9f77e1e9136666bd97f730..48e767f62eecac61caa7c86c9895ecffaf05e1ef 100644
(file)
--- 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);