Skip to content

Commit

Permalink
Might not have __has_include
Browse files Browse the repository at this point in the history
  • Loading branch information
brevzin committed Apr 30, 2020
1 parent d76e533 commit 2bba3b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/rapidjson/document.h
Expand Up @@ -25,9 +25,11 @@
#include <new> // placement new
#include <limits>

#ifdef __has_include
#if __has_include(<compare>)
#include <compare>
#endif
#endif

RAPIDJSON_DIAG_PUSH
#ifdef __clang__
Expand Down

0 comments on commit 2bba3b1

Please sign in to comment.