summaryrefslogtreecommitdiff
path: root/ext/swf/swf.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-12-01 09:50:01 +0000
committerAndi Gutmans <andi@php.net>2000-12-01 09:50:01 +0000
commitae7c036e4143e89eed8bad434437f0b8da150fcc (patch)
tree8d470e3fabd8ae690161ae69febd45a3d8d94fd4 /ext/swf/swf.c
parent727e89ab1b117d43f88a32827241b06619d88508 (diff)
downloadphp-git-ae7c036e4143e89eed8bad434437f0b8da150fcc.tar.gz
- Fix swf build issues from bug #7612
- Not tested! Someone please compile it.
Diffstat (limited to 'ext/swf/swf.c')
-rw-r--r--ext/swf/swf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/swf/swf.c b/ext/swf/swf.c
index 92e4e779a5..e09bc9cac0 100644
--- a/ext/swf/swf.c
+++ b/ext/swf/swf.c
@@ -28,12 +28,7 @@
#include "php_open_temporary_file.h"
#include "php_swf.h"
-#ifdef ZTS
-int swf_globals_id;
-#else
-php_swf_globals swf_globals;
-#endif
-
+ZEND_DECLARE_MODULE_GLOBALS(swf)
function_entry swf_functions[] = {
PHP_FE(swf_openfile, NULL)