Skip to content

Commit 19a794d

Browse files
authored
prevent macro redefined for JSON_HAS_INT64 (#1673)
1 parent cdc8483 commit 19a794d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/json/config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ using UInt64 = uint64_t;
122122
#endif // if defined(_MSC_VER)
123123
using LargestInt = Int64;
124124
using LargestUInt = UInt64;
125+
#ifndef JSON_HAS_INT64
125126
#define JSON_HAS_INT64
127+
#endif // ifndef JSON_HAS_INT64
126128
#endif // if defined(JSON_NO_INT64)
127129

128130
template <typename T>

0 commit comments

Comments
 (0)