projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d87fa2
)
(size_t) [__GNUG__]: Don't typedef it if it's already defined as a macro.
author
Richard Stallman
<rms@gnu.org>
Mon, 24 May 1993 06:09:38 +0000
(06:09 +0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 24 May 1993 06:09:38 +0000
(06:09 +0000)
From-SVN: r4549
gcc/ginclude/stddef.h
patch
|
blob
|
history
diff --git
a/gcc/ginclude/stddef.h
b/gcc/ginclude/stddef.h
index b15cfc199a670aa97d1a3d255c991f6a3a004e9d..5ad0ef227192371021f1ab23de901f90e049ecfd 100644
(file)
--- a/
gcc/ginclude/stddef.h
+++ b/
gcc/ginclude/stddef.h
@@
-121,7
+121,9
@@
typedef __PTRDIFF_TYPE__ ptrdiff_t;
#ifndef __SIZE_TYPE__
#define __SIZE_TYPE__ long unsigned int
#endif
+#if !(defined (__GNUG__) && defined (size_t))
typedef __SIZE_TYPE__ size_t;
+#endif /* !(defined (__GNUG__) && defined (size_t)) */
#endif /* _SIZET_ */
#endif /* _GCC_SIZE_T */
#endif /* ___int_size_t_h */