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 /pcrecpp_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 'pcrecpp_unittest.cc')
-rw-r--r-- | pcrecpp_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcrecpp_unittest.cc b/pcrecpp_unittest.cc index 784c3d1..b221539 100644 --- a/pcrecpp_unittest.cc +++ b/pcrecpp_unittest.cc @@ -37,7 +37,7 @@ #include "config.h" #endif -#ifdef _WIN32 +#ifdef HAVE_WINDOWS_H #define snprintf _snprintf #endif |