mirror of
https://github.com/reactos/CMake.git
synced 2025-02-08 12:58:46 +00:00
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.
This commit is contained in:
parent
0d489fab19
commit
d9d285c5ad
@ -5,13 +5,14 @@
|
|||||||
|
|
||||||
#ifndef JSON_CONFIG_H_INCLUDED
|
#ifndef JSON_CONFIG_H_INCLUDED
|
||||||
#define 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 KWSys Large File Support configuration.
|
||||||
#include <cmsys/Configure.h>
|
#include <cmsys/Configure.h>
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <string> //typedef String
|
||||||
|
#include <stdint.h> //typedef int64_t, uint64_t
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
# pragma warning(push,1)
|
# pragma warning(push,1)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user