diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-17 10:09:22 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-09-17 10:09:22 +0000 |
commit | 9675b21a75d1c07540a2524684ad271106d0024a (patch) | |
tree | f972e4b33f6467d6ab13075316b90da3743afa9b /pcre_scanner_unittest.cc | |
parent | 860041b0856fb978874554395e344ee5407d93df (diff) | |
download | pcre-9675b21a75d1c07540a2524684ad271106d0024a.tar.gz |
Change condition for the macros for snprintf and strtoll from _WIN32 to
HAVE_WINDOWS_H because they are needed only when windows.h is present.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@248 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_scanner_unittest.cc')
-rw-r--r-- | pcre_scanner_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_scanner_unittest.cc b/pcre_scanner_unittest.cc index 866fac3..c0b8a33 100644 --- a/pcre_scanner_unittest.cc +++ b/pcre_scanner_unittest.cc @@ -44,7 +44,7 @@ #include "pcre_stringpiece.h" #include "pcre_scanner.h" -#ifdef _WIN32 +#ifdef HAVE_WINDOWS_H # define snprintf _snprintf #endif |