summaryrefslogtreecommitdiff
path: root/lib/common/ExcludeList.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-12-29 21:58:22 +0000
committerChris Wilson <chris+github@qwirx.com>2006-12-29 21:58:22 +0000
commitd301501f11ec0f3a9fc079f995367c6deb6a5c48 (patch)
tree25f6539e63b0d5c6b64da48768eda5c109c39c54 /lib/common/ExcludeList.cpp
parent44529e9be1a198e3a78b3dc3e971b9fe572d086d (diff)
Visual Studio 2005 compile fixes, thanks to Gary.
Enable (and require) PCRE when building with Visual Studio 2005.
Diffstat (limited to 'lib/common/ExcludeList.cpp')
-rw-r--r--lib/common/ExcludeList.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/common/ExcludeList.cpp b/lib/common/ExcludeList.cpp
index b13b6026..842780b6 100644
--- a/lib/common/ExcludeList.cpp
+++ b/lib/common/ExcludeList.cpp
@@ -10,7 +10,11 @@
#include "Box.h"
#ifdef HAVE_REGEX_H
- #include <regex.h>
+ #ifdef WIN32
+ #include <pcreposix.h>
+ #else
+ #include <regex.h>
+ #endif // WIN32
#define EXCLUDELIST_IMPLEMENTATION_REGEX_T_DEFINED
#endif