From ce8b9f4fcb06a0e0d59bea4599ac310ef5490cb7 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 21 Jul 2010 17:26:00 +0000 Subject: [PATCH] [CRT] - Improve NULL definition. svn path=/trunk/; revision=48162 --- reactos/include/crt/stdlib.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/include/crt/stdlib.h b/reactos/include/crt/stdlib.h index cf40425ff29..2114c18e288 100644 --- a/reactos/include/crt/stdlib.h +++ b/reactos/include/crt/stdlib.h @@ -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