projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff8aef1
)
* stddef.h (size_t): Let either _SIZE_T or _SIZE_T_ guard it.
author
Jim Kingdon
<jkingdon@engr.sgi.com>
Sat, 20 Apr 1991 03:25:09 +0000
(
03:25
+0000)
committer
Jim Kingdon
<jkingdon@engr.sgi.com>
Sat, 20 Apr 1991 03:25:09 +0000
(
03:25
+0000)
gdb/stddef.h
patch
|
blob
|
history
diff --git
a/gdb/stddef.h
b/gdb/stddef.h
index d95a8154d276157dfad95d9add0d4515aef4c146..c2c396e139a72b213a50e620e212a8aa4c04d368 100755
(executable)
--- a/
gdb/stddef.h
+++ b/
gdb/stddef.h
@@
-7,7
+7,9
@@
typedef long ptrdiff_t;
/* Unsigned type of `sizeof' something. */
-#ifndef _SIZE_T /* in case <sys/types.h> has defined it. */
+/* in case <sys/types.h> has defined it. */
+/* DECstation uses _SIZE_T_. */
+#if !defined (_SIZE_T) && !defined (_SIZE_T_)
#define _SIZE_T
typedef unsigned long size_t;
#endif /* _SIZE_T */