aboutsummaryrefslogtreecommitdiffstats
path: root/lang/egcs/files/patch-xm-freebsd.h
blob: a04d032b0094dc74b1da07c6af46423aec1ffdba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- gcc/config/xm-freebsd.h.orig    1999/08/26 09:29:27 1.1.1.2
+++ gcc/config/xm-freebsd.h 1999/08/30 10:12:33 1.4
@@ -22,3 +22,16 @@
    running FreeBSD.  This file should not be specified as $xm_file itself;
    instead $xm_file should be CPU/xm-freebsd.h, which should include both
    CPU/xm-CPU.h and this file xm-freebsd.h.  */
+
+#ifndef HAVE_ATEXIT
+#define HAVE_ATEXIT
+#endif
+
+/* Tell gcc and collect2 that FreeBSD targets support putenv(3).  */
+#define HAVE_PUTENV
+
+/* We have _sys_siglist, but the declaration in <signal.h> conflicts with
+   the declarations in collect2.c and mips-tfile.c, so disable the declarations
+   in those files.  */
+
+#define SYS_SIGLIST_DECLARED