projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f0daba1
)
[CRT]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Wed, 21 Jul 2010 17:26:00 +0000
(17:26 +0000)
committer
Amine 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
patch
|
blob
|
history
diff --git
a/reactos/include/crt/stdlib.h
b/reactos/include/crt/stdlib.h
index
cf40425
..
2114c18
100644
(file)
--- 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