diff options
author | Brad King <brad.king@kitware.com> | 2019-02-22 18:02:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-02-25 13:26:20 (GMT) |
commit | d9d285c5ad2987ed4aa3ff89093818239781708f (patch) | |
tree | ed6a7ccaed5f1532202a02b34fbf25a5f317f732 /Utilities/cmjsoncpp | |
parent | 0d489fab194efdf77970cb981dc9b636c36da2ea (diff) | |
download | CMake-d9d285c5ad2987ed4aa3ff89093818239781708f.zip CMake-d9d285c5ad2987ed4aa3ff89093818239781708f.tar.gz CMake-d9d285c5ad2987ed4aa3ff89093818239781708f.tar.bz2 |
jsoncpp: Fix include order for build within CMake
Include the KWSys `Configure.h` header first to get its large file
support definitions before including system headers.
Diffstat (limited to 'Utilities/cmjsoncpp')
-rw-r--r-- | Utilities/cmjsoncpp/include/json/config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Utilities/cmjsoncpp/include/json/config.h b/Utilities/cmjsoncpp/include/json/config.h index eb52e71..34f7314 100644 --- a/Utilities/cmjsoncpp/include/json/config.h +++ b/Utilities/cmjsoncpp/include/json/config.h @@ -5,13 +5,14 @@ #ifndef JSON_CONFIG_H_INCLUDED #define JSON_CONFIG_H_INCLUDED -#include <stddef.h> -#include <string> //typedef String -#include <stdint.h> //typedef int64_t, uint64_t // Include KWSys Large File Support configuration. #include <cmsys/Configure.h> +#include <stddef.h> +#include <string> //typedef String +#include <stdint.h> //typedef int64_t, uint64_t + #if defined(_MSC_VER) # pragma warning(push,1) #endif |