aboutsummaryrefslogtreecommitdiff
path: root/gcc/tsystem.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@stanford.edu>2001-05-01 03:48:04 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-05-01 03:48:04 +0000
commit34f4f3a551dd6bb1c369760eeda4b63a78e08087 (patch)
tree8aee75418bc08023370427d9bef2cb1d2fe44a1f /gcc/tsystem.h
parent7719ffbf1ded6d87084c813e56bddd91136dd9f3 (diff)
downloadgcc-34f4f3a551dd6bb1c369760eeda4b63a78e08087.zip
gcc-34f4f3a551dd6bb1c369760eeda4b63a78e08087.tar.gz
gcc-34f4f3a551dd6bb1c369760eeda4b63a78e08087.tar.bz2
tsystem.h: Test only POSIX for availability of string.h and time.h.
* tsystem.h: Test only POSIX for availability of string.h and time.h. * config.gcc (all systems): If USG appeared in xm_defines, change it to POSIX. If both USG and POSIX appeared, just delete USG. Remove unnecessary quotes around xm_defines settings. (m68k-crds-unos*): Don't #define unos - tested nowhere. (m68k-apple-aux*): Don't #define AUX - tested nowhere. (alpha*-*-linux*ecoff*, powerpc-*-linux*libc1, powerpc-*-linux*): No need to set xm_defines - handled by global settings for *-*-linux*. From-SVN: r41714
Diffstat (limited to 'gcc/tsystem.h')
-rw-r--r--gcc/tsystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tsystem.h b/gcc/tsystem.h
index a20dbe7..4c21f81 100644
--- a/gcc/tsystem.h
+++ b/gcc/tsystem.h
@@ -72,7 +72,7 @@ extern int atexit (void (*)(void));
extern int errno;
#endif
-#if defined(POSIX) || defined(USG)
+#ifdef POSIX
#include <string.h>
#endif
@@ -83,7 +83,7 @@ extern int errno;
/* GCC supplies this header. */
#include <limits.h>
-#if defined(POSIX) || defined(USG)
+#ifdef POSIX
#include <time.h>
#endif