projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df62f95
)
(NULL_PTR): Define as void * if STDC.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 17 Jul 1992 09:56:08 +0000
(
05:56
-0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 17 Jul 1992 09:56:08 +0000
(
05:56
-0400)
From-SVN: r1612
gcc/cccp.c
patch
|
blob
|
history
diff --git
a/gcc/cccp.c
b/gcc/cccp.c
index c84e62094cf9ed7b086d22830dcef2bbeaba634f..29fd28939a0494debef576bb1fc542c43563152d 100644
(file)
--- a/
gcc/cccp.c
+++ b/
gcc/cccp.c
@@
-126,8
+126,12
@@
typedef struct { unsigned :16, :16, :16; } vms_ino_t;
#endif
#ifndef NULL_PTR
+#ifdef __STDC__
+#define NULL_PTR (void *) NULL
+#else
#define NULL_PTR (char *) NULL
#endif
+#endif
#ifndef INCLUDE_LEN_FUDGE
#define INCLUDE_LEN_FUDGE 0