- Improve NULL definition.

svn path=/trunk/; revision=48162
This commit is contained in:
Amine Khaldi 2010-07-21 17:26:00 +00:00
parent f0daba18dd
commit ce8b9f4fcb

View file

@ -17,8 +17,12 @@ extern "C" {
#ifndef NULL #ifndef NULL
#ifdef __cplusplus #ifdef __cplusplus
#ifndef _WIN64
#define NULL 0 #define NULL 0
#else #else
#define NULL 0LL
#endif /* W64 */
#else
#define NULL ((void *)0) #define NULL ((void *)0)
#endif #endif
#endif #endif