Commit 36d0e5b7 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Define NULL if it's not defined already.

parent 5e36ae56
...@@ -17,6 +17,14 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment