Skip to content

Commit d613615

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_build.h: include php_config.h
Without this, the macros ZTS, ZEND_DEBUG and PHP_COMPILER_ID may be unavailable.
1 parent da4775f commit d613615

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Zend/zend_build.h

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
#ifndef ZEND_BUILD_H
2020
#define ZEND_BUILD_H
2121

22+
#ifdef PHP_WIN32
23+
#include "config.w32.h"
24+
#else
25+
#include "php_config.h"
26+
#endif
27+
2228
#define ZEND_TOSTR_(x) #x
2329
#define ZEND_TOSTR(x) ZEND_TOSTR_(x)
2430

0 commit comments

Comments
 (0)