mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-17 19:25:54 +02:00
Define nullptr macro only if it is not previously defined.
This commit is contained in:
@@ -21,7 +21,9 @@
|
||||
#if defined __cplusplus
|
||||
#if __cplusplus < 201103
|
||||
|
||||
#if !defined(nullptr)
|
||||
#define nullptr (0)
|
||||
#endif
|
||||
|
||||
namespace msgpack {
|
||||
|
||||
|
Reference in New Issue
Block a user