Define NULL if it's not defined already.
This commit is contained in:
parent
5e36ae56b2
commit
36d0e5b73a
|
@ -17,6 +17,14 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef NULL
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#define NULL 0
|
||||||
|
#else
|
||||||
|
#define NULL ((void*)0)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MSVCRT_WCHAR_T_DEFINED
|
#ifndef MSVCRT_WCHAR_T_DEFINED
|
||||||
#define MSVCRT_WCHAR_T_DEFINED
|
#define MSVCRT_WCHAR_T_DEFINED
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
|
|
Loading…
Reference in New Issue