diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-20 03:25:09 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-20 03:25:09 +0000 |
commit | 9d62cbd23acf119c892fe8aae977d55e0b8d87b0 (patch) | |
tree | 5e48c896cc7c14337e803f362712657b7fdd4910 /gdb/stddef.h | |
parent | ff8aef1993a779f1f57288b3ba7a0fadeb0501ae (diff) | |
download | gdb-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-x | gdb/stddef.h | 4 |
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 */ |