summaryrefslogtreecommitdiff
path: root/lib/common/ExcludeList.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/ExcludeList.h')
-rwxr-xr-xlib/common/ExcludeList.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/ExcludeList.h b/lib/common/ExcludeList.h
index a1954044..5324d226 100755
--- a/lib/common/ExcludeList.h
+++ b/lib/common/ExcludeList.h
@@ -45,7 +45,7 @@ public:
// Mainly for tests
unsigned int SizeOfDefiniteList() const {return mDefinite.size();}
unsigned int SizeOfRegexList() const
-#ifndef PLATFORM_REGEX_NOT_SUPPORTED
+#ifdef HAVE_REGEX_H
{return mRegex.size();}
#else
{return 0;}
@@ -53,7 +53,7 @@ public:
private:
std::set<std::string> mDefinite;
-#ifndef PLATFORM_REGEX_NOT_SUPPORTED
+#ifdef HAVE_REGEX_H
std::vector<regex_t *> mRegex;
#endif