mirror of
https://github.com/nlohmann/json.git
synced 2024-11-23 22:19:02 +08:00
- header for NULL
This commit is contained in:
parent
d035fa581d
commit
23ada516aa
@ -9,7 +9,6 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstddef>
|
|
||||||
|
|
||||||
#ifdef __cplusplus11
|
#ifdef __cplusplus11
|
||||||
using std::to_string;
|
using std::to_string;
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
// allow us to use "nullptr" everywhere
|
// allow us to use "nullptr" everywhere
|
||||||
#ifndef nullptr
|
#ifndef nullptr
|
||||||
|
#include <cstddef>
|
||||||
#define nullptr NULL
|
#define nullptr NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user