Define NULL if it's not defined already.

This commit is contained in:
Dimitrie O. Paun 2003-01-03 03:07:06 +00:00 committed by Alexandre Julliard
parent 5e36ae56b2
commit 36d0e5b73a
1 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,14 @@
# endif
#endif
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void*)0)
#endif
#endif
#ifndef MSVCRT_WCHAR_T_DEFINED
#define MSVCRT_WCHAR_T_DEFINED
#ifndef __cplusplus