diff options
author | Chris Wilson <chris+github@qwirx.com> | 2016-09-03 00:07:23 +0100 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2016-09-03 00:07:23 +0100 |
commit | c0125ee22e09a31ae291e42faa817835bd903dbc (patch) | |
tree | aca37c831ef9897f1b4898cbf8d2bef36112c5af /lib/common/ExcludeList.cpp | |
parent | 0560d351665313fcdd503af213118eec46930cbe (diff) |
Update platform feature detection to work with CMake.
Rewrite some macros in forms that can be parsed by our parser written in CMake
language (fake m4 with regexps).
Fix incorrect conditional includes and incorrect #if/#ifdef assumptions.
Diffstat (limited to 'lib/common/ExcludeList.cpp')
-rw-r--r-- | lib/common/ExcludeList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/ExcludeList.cpp b/lib/common/ExcludeList.cpp index f101782a..4d964021 100644 --- a/lib/common/ExcludeList.cpp +++ b/lib/common/ExcludeList.cpp @@ -10,9 +10,9 @@ #include "Box.h" #ifdef HAVE_REGEX_SUPPORT - #ifdef HAVE_PCREPOSIX_H + #if defined HAVE_PCREPOSIX_H #include <pcreposix.h> - #else + #elif defined HAVE_REGEX_H #include <regex.h> #endif #define EXCLUDELIST_IMPLEMENTATION_REGEX_T_DEFINED |