Skip to content

Commit

Permalink
Fix schema regex preprocessor include logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant-ferguson authored and miloyip committed Feb 9, 2024
1 parent 6089180 commit 060a09a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions include/rapidjson/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,9 @@

#if !defined(RAPIDJSON_SCHEMA_USE_INTERNALREGEX)
#define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 1
#else
#define RAPIDJSON_SCHEMA_USE_INTERNALREGEX 0
#endif

#if !RAPIDJSON_SCHEMA_USE_INTERNALREGEX && defined(RAPIDJSON_SCHEMA_USE_STDREGEX) && (__cplusplus >=201103L || (defined(_MSC_VER) && _MSC_VER >= 1800))
#define RAPIDJSON_SCHEMA_USE_STDREGEX 1
#else
#if !defined(RAPIDJSON_SCHEMA_USE_STDREGEX) || !(__cplusplus >=201103L || (defined(_MSC_VER) && _MSC_VER >= 1800))
#define RAPIDJSON_SCHEMA_USE_STDREGEX 0
#endif

Expand Down

0 comments on commit 060a09a

Please sign in to comment.