summaryrefslogtreecommitdiff
path: root/lib/common/ExcludeList.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-07-26 22:00:00 +0000
committerChris Wilson <chris+github@qwirx.com>2007-07-26 22:00:00 +0000
commit243823b91f9bf4eb5f60dbce575904cd20a237ef (patch)
tree1456f51a41bdc93ef5e4ffa040e53790adc13bcd /lib/common/ExcludeList.cpp
parent1072b4054a8e01cd848fd0025d766292f174a609 (diff)
We now have pcreposix.h instead of regex.h, at least if you follow the
MSVC build instructions. (refs #3, merges [1665])
Diffstat (limited to 'lib/common/ExcludeList.cpp')
-rw-r--r--lib/common/ExcludeList.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common/ExcludeList.cpp b/lib/common/ExcludeList.cpp
index e24246c8..a8d07dcc 100644
--- a/lib/common/ExcludeList.cpp
+++ b/lib/common/ExcludeList.cpp
@@ -9,7 +9,10 @@
#include "Box.h"
-#ifdef HAVE_REGEX_H
+#ifdef HAVE_PCREPOSIX_H
+ #include <pcreposix.h>
+ #define EXCLUDELIST_IMPLEMENTATION_REGEX_T_DEFINED
+#elif defined HAVE_REGEX_H
#include <regex.h>
#define EXCLUDELIST_IMPLEMENTATION_REGEX_T_DEFINED
#endif