projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5a2fb2
)
Do nothing if _ANSI_STDDEF_H already defined.
author
Richard Stallman
<rms@gnu.org>
Sat, 17 Oct 1992 04:41:39 +0000
(
04:41
+0000)
committer
Richard Stallman
<rms@gnu.org>
Sat, 17 Oct 1992 04:41:39 +0000
(
04:41
+0000)
From-SVN: r2497
gcc/ginclude/stddef.h
patch
|
blob
|
history
diff --git
a/gcc/ginclude/stddef.h
b/gcc/ginclude/stddef.h
index adb69a7365ae0e35a6c8ca280b17c69aa2398237..0b6bfa62347427fc50db04489c21f808ee438c1f 100644
(file)
--- a/
gcc/ginclude/stddef.h
+++ b/
gcc/ginclude/stddef.h
@@
-1,5
+1,6
@@
#ifndef _STDDEF_H
#ifndef _STDDEF_H_
+#ifndef _ANSI_STDDEF_H
/* Any one of these symbols __need_* means that GNU libc
wants us just to define one data type. So don't define
@@
-163,5
+164,7
@@
typedef __WCHAR_TYPE__ wchar_t;
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif /* _STDDEF_H was defined this time */
+
+#endif /* _ANSI_STDDEF_H was not defined before */
#endif /* _STDDEF_H_ was not defined before */
#endif /* _STDDEF_H was not defined before */