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/tsrm_win32.c | |
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/tsrm_win32.c')
-rw-r--r-- | TSRM/tsrm_win32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index 0ceb69b990..d08b4cc3b2 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -29,6 +29,11 @@ #include "TSRM.h" #ifdef TSRM_WIN32 + +#if HAVE_NEWAPIS_H +# define COMPILE_NEWAPIS_STUBS +#endif + #include "tsrm_win32.h" #ifdef ZTS |