aboutsummaryrefslogtreecommitdiff
path: root/gdb/stddef.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 03:25:09 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-20 03:25:09 +0000
commit9d62cbd23acf119c892fe8aae977d55e0b8d87b0 (patch)
tree5e48c896cc7c14337e803f362712657b7fdd4910 /gdb/stddef.h
parentff8aef1993a779f1f57288b3ba7a0fadeb0501ae (diff)
downloadgdb-9d62cbd23acf119c892fe8aae977d55e0b8d87b0.zip
gdb-9d62cbd23acf119c892fe8aae977d55e0b8d87b0.tar.gz
gdb-9d62cbd23acf119c892fe8aae977d55e0b8d87b0.tar.bz2
* stddef.h (size_t): Let either _SIZE_T or _SIZE_T_ guard it.
Diffstat (limited to 'gdb/stddef.h')
-rwxr-xr-xgdb/stddef.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/stddef.h b/gdb/stddef.h
index d95a815..c2c396e 100755
--- 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 */