diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | pcre_scanner_unittest.cc | 2 | ||||
-rw-r--r-- | pcrecpp.cc | 2 | ||||
-rw-r--r-- | pcrecpp_unittest.cc | 2 |
4 files changed, 6 insertions, 7 deletions
@@ -32,8 +32,8 @@ Version 7.4 10-Sep-07 compatibility, even though it is no longer used. 7. Added macro for snprintf to pcrecpp_unittest.cc and also for strtoll and - strtoull to pcrecpp.cc to select the available functions in WIN32 (where - different names are used). + strtoull to pcrecpp.cc to select the available functions in WIN32 when the + windows.h file is present (where different names are used). 8. Changed all #include <config.h> to #include "config.h". There were also some further <pcre.h> cases that I changed to "pcre.h". @@ -58,8 +58,7 @@ Version 7.4 10-Sep-07 11. --disable-stack-for-recursion caused compiling to fail unless -enable- unicode-properties was also set. -12. Updated the RunTest script to miss out tests that don't work if \R is - defaulted to ANYCRLF. +12. Updated the tests so that they work when \R is defaulted to ANYCRLF. Version 7.3 28-Aug-07 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 @@ -33,7 +33,7 @@ #include "config.h" #endif -#ifdef _WIN32 +#ifdef HAVE_WINDOWS_H #define HAVE_STRTOQ 1 #define strtoll _strtoui64 #define strtoull _strtoi64 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 |