mirror of
https://github.com/php/php-src.git
synced 2024-12-11 19:04:38 +08:00
42ed91f94c
This fix relies on you having the Platform SDK headers. Using the new build system, the NewAPIs.h header will be detected automatically, however, for people building using .dsp files, you will need to add /DHAVE_NEWAPIS_H=1 to the TSRM project if you have those newer headers.
11 lines
330 B
JavaScript
11 lines
330 B
JavaScript
// vim:ft=javascript
|
|
// $Id$
|
|
|
|
if (CHECK_HEADER_ADD_INCLUDE("NewAPIs.h", "CFLAGS_PHP", php_usual_include_suspects)) {
|
|
// Need to add the flag directly, since TSRM doesn't include the config
|
|
// header
|
|
ADD_FLAG("CFLAGS_PHP", "/DHAVE_NEWAPIS_H=1");
|
|
}
|
|
ADD_SOURCES("TSRM", "TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c tsrm_win32.c");
|
|
|