aboutsummaryrefslogtreecommitdiff
path: root/japanese/emacs20-emcws/files/patch-aj
blob: b11a244c6e41eaf9b1880f02661b56ca97df752f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- src/m/alpha.h.orig	Wed Oct 29 16:47:37 1997
+++ src/m/alpha.h	Sun Jan  3 20:05:49 1999
@@ -239,7 +239,7 @@
 
 #ifndef NOT_C_CODE
 /* We need these because pointers are larger than the default ints.  */
-#if !defined(__NetBSD__) && !defined(__OpenBSD__)
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
 #include <alloca.h>
 #else
 #include <stdlib.h>
@@ -308,7 +308,8 @@
    termio and struct termios are mutually incompatible.  */
 #define NO_TERMIO
 
-#if defined (LINUX) || defined (__NetBSD__) || defined (__OpenBSD__)
+#if defined (LINUX) || \
+	defined(__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__)
 # define TEXT_END ({ extern int _etext; &_etext; })
 # ifndef __ELF__
 #  define COFF
@@ -316,7 +317,8 @@
 # endif /* notdef __ELF__ */
 #endif
 
-#if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__)
+#if (defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__)) \
+	&& defined (__ELF__)
 #define HAVE_TEXT_START
 #endif