Added #include TRMLS.h to the php_module.h header file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0a79bdb042
commit
568aa2c6d1
1 changed files with 3 additions and 0 deletions
|
|
@ -671,6 +671,9 @@ public:
|
|||
Printf(f_h, "#else\n" );
|
||||
Printf(f_h, "# define PHP_%s_API\n", cap_module );
|
||||
Printf(f_h, "#endif\n\n" );
|
||||
Printf(f_h, "#ifdef ZTS\n" );
|
||||
Printf(f_h, "#include \"TSRM.h\"\n" );
|
||||
Printf(f_h, "#endif\n\n" );
|
||||
Printf(f_h, "PHP_MINIT_FUNCTION(%s);\n", module );
|
||||
Printf(f_h, "PHP_MSHUTDOWN_FUNCTION(%s);\n", module );
|
||||
Printf(f_h, "PHP_RINIT_FUNCTION(%s);\n", module );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue