diff options
Diffstat (limited to 'lib/common/ExcludeList.cpp')
-rw-r--r-- | lib/common/ExcludeList.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/common/ExcludeList.cpp b/lib/common/ExcludeList.cpp index 9b2e3acb..43991594 100644 --- a/lib/common/ExcludeList.cpp +++ b/lib/common/ExcludeList.cpp @@ -232,7 +232,7 @@ void ExcludeList::Deserialize(Archive & rArchive) // mDefinite.clear(); -#ifndef PLATFORM_REGEX_NOT_SUPPORTED +#ifdef HAVE_REGEX_H // free regex memory while(mRegex.size() > 0) { @@ -273,7 +273,7 @@ void ExcludeList::Deserialize(Archive & rArchive) // // // -#ifndef PLATFORM_REGEX_NOT_SUPPORTED +#ifdef HAVE_REGEX_H rArchive.Read(iCount); if (iCount > 0) @@ -310,7 +310,7 @@ void ExcludeList::Deserialize(Archive & rArchive) } } } -#endif // PLATFORM_REGEX_NOT_SUPPORTED +#endif // HAVE_REGEX_H // // @@ -365,7 +365,7 @@ void ExcludeList::Serialize(Archive & rArchive) const // // // -#ifndef PLATFORM_REGEX_NOT_SUPPORTED +#ifdef HAVE_REGEX_H // don't even try to save compiled regular expressions, // use string copies instead. ASSERT(mRegex.size() == mRegexStr.size()); @@ -378,7 +378,7 @@ void ExcludeList::Serialize(Archive & rArchive) const { rArchive.Write(*i); } -#endif // PLATFORM_REGEX_NOT_SUPPORTED +#endif // HAVE_REGEX_H // // |