[CRT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 21 Jul 2010 17:26:00 +0000 (17:26 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 21 Jul 2010 17:26:00 +0000 (17:26 +0000)
- Improve NULL definition.

svn path=/trunk/; revision=48162

reactos/include/crt/stdlib.h

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