mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00

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.
10 lines
330 B
JavaScript
10 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");
|
|
|