Fix schema regex preprocessor include logic
This commit is contained in:
parent
6089180ecb
commit
060a09a1c5
@ -24,13 +24,9 @@
|
|||||||
|
|
||||||
#if !defined(RAPIDJSON_SCHEMA_USE_INTERNALREGEX)
|
#if !defined(RAPIDJSON_SCHEMA_USE_INTERNALREGEX)
|
||||||
#define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 1
|
#define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 1
|
||||||
#else
|
|
||||||
#define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 0
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !RAPIDJSON_SCHEMA_USE_INTERNALREGEX && defined(RAPIDJSON_SCHEMA_USE_STDREGEX) && (__cplusplus >=201103L || (defined(_MSC_VER) && _MSC_VER >= 1800))
|
#if !defined(RAPIDJSON_SCHEMA_USE_STDREGEX) || !(__cplusplus >=201103L || (defined(_MSC_VER) && _MSC_VER >= 1800))
|
||||||
#define RAPIDJSON_SCHEMA_USE_STDREGEX 1
|
|
||||||
#else
|
|
||||||
#define RAPIDJSON_SCHEMA_USE_STDREGEX 0
|
#define RAPIDJSON_SCHEMA_USE_STDREGEX 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user