Commit 34f4f3a5 by Zack Weinberg Committed by Zack Weinberg

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
parent 7719ffbf
2001-04-30 Zack Weinberg <zackw@stanford.edu>
* 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*.
2001-04-30 Zack Weinberg <zackw@stanford.edu>
* dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
Always include gstab.h, not system stab.h. Don't provide
default definitions of N_CATCH or N_OPT. Always use the
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment