Clean up includes of PHP API headers
Eliminate redundant and unused includes. Only include the minimum headers needed before the PHP_MAJOR_VERSION check in case future PHP versions remove some of the headers we include.
This commit is contained in:
parent
e59d34481d
commit
228b04974d
2 changed files with 3 additions and 5 deletions
|
|
@ -386,7 +386,6 @@ public:
|
|||
Printf(s_header, "#ifdef __cplusplus\n");
|
||||
Printf(s_header, "extern \"C\" {\n");
|
||||
Printf(s_header, "#endif\n");
|
||||
Printf(s_header, "#include \"php.h\"\n");
|
||||
Printf(s_header, "#include \"php_ini.h\"\n");
|
||||
Printf(s_header, "#include \"ext/standard/info.h\"\n");
|
||||
Printf(s_header, "#include \"php_%s.h\"\n", module);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue