diff options
author | Wez Furlong <wez@php.net> | 2003-12-22 15:01:05 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-12-22 15:01:05 +0000 |
commit | 42ed91f94c26ed3dee0c3b05c3466bda301f6176 (patch) | |
tree | a1705ca3ffb4e9d63f307ed3c09336e9e6d2db71 /TSRM/config.w32 | |
parent | 3b450ec431f4b9e1a5b9a61f3fa5ff0f51955adc (diff) | |
download | php-git-42ed91f94c26ed3dee0c3b05c3466bda301f6176.tar.gz |
Fix bug #26692; Could not find GetLongPathNameA under NT4.
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.
Diffstat (limited to 'TSRM/config.w32')
-rw-r--r-- | TSRM/config.w32 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/TSRM/config.w32 b/TSRM/config.w32 new file mode 100644 index 0000000000..525f4390e5 --- /dev/null +++ b/TSRM/config.w32 @@ -0,0 +1,10 @@ +// 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"); + |