summaryrefslogtreecommitdiff
path: root/lib/common/ExcludeList.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/ExcludeList.h')
-rw-r--r--lib/common/ExcludeList.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/ExcludeList.h b/lib/common/ExcludeList.h
index 522ee370..3c41bd11 100644
--- a/lib/common/ExcludeList.h
+++ b/lib/common/ExcludeList.h
@@ -50,7 +50,7 @@ public:
// Mainly for tests
unsigned int SizeOfDefiniteList() const {return mDefinite.size();}
unsigned int SizeOfRegexList() const
-#ifdef HAVE_REGEX_H
+#ifdef HAVE_REGEX_SUPPORT
{return mRegex.size();}
#else
{return 0;}
@@ -58,7 +58,7 @@ public:
private:
std::set<std::string> mDefinite;
-#ifdef HAVE_REGEX_H
+#ifdef HAVE_REGEX_SUPPORT
std::vector<regex_t *> mRegex;
std::vector<std::string> mRegexStr; // save original regular expression string-based source for Serialize
#endif