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:
Kevin Ruland 2006-02-16 21:30:03 +00:00
commit 568aa2c6d1

View file

@ -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 );