aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorJoakim Verona2010-08-17 23:19:11 +0200
committerJoakim Verona2010-08-17 23:19:11 +0200
commita8101f663e6cbff953b67b8bef33bc0171818477 (patch)
tree8f71a16188f75e91670e05379fb4de2d0136cbf4 /src/s
parentfe72c5b4651334677326104ec138e7cdd50f2ffe (diff)
parent489cd5bd5a0128d6c3bee49fa2c451f2927ddea9 (diff)
downloademacs-a8101f663e6cbff953b67b8bef33bc0171818477.tar.gz
emacs-a8101f663e6cbff953b67b8bef33bc0171818477.zip
merge from trunk
Diffstat (limited to 'src/s')
-rw-r--r--src/s/aix4-2.h9
-rw-r--r--src/s/bsd-common.h2
-rw-r--r--src/s/cygwin.h1
-rw-r--r--src/s/darwin.h6
-rw-r--r--src/s/freebsd.h8
-rw-r--r--src/s/gnu-linux.h2
-rw-r--r--src/s/hpux10-20.h11
-rw-r--r--src/s/irix6-5.h6
-rw-r--r--src/s/ms-w32.h22
-rw-r--r--src/s/msdos.h19
-rw-r--r--src/s/sol2-10.h2
-rw-r--r--src/s/sol2-6.h8
-rw-r--r--src/s/template.h8
-rw-r--r--src/s/unixware.h4
-rw-r--r--src/s/usg5-4-common.h (renamed from src/s/usg5-4.h)14
15 files changed, 12 insertions, 110 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h
index 48f43126fd9..84920f888e1 100644
--- a/src/s/aix4-2.h
+++ b/src/s/aix4-2.h
@@ -47,11 +47,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
47/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ 47/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
48#define HAVE_SOCKETS 48#define HAVE_SOCKETS
49 49
50
51/* Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir library
52 functions. Almost, but not quite the same as the 4.2 functions. */
53#define SYSV_SYSTEM_DIR
54
55/* The file containing the kernel's symbol table is called /unix. */ 50/* The file containing the kernel's symbol table is called /unix. */
56#define KERNEL_FILE "/unix" 51#define KERNEL_FILE "/unix"
57 52
@@ -89,8 +84,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
89 memory use the libc malloc implementation. Calling xfree or 84 memory use the libc malloc implementation. Calling xfree or
90 xrealloc on the results of such functions results in a crash. 85 xrealloc on the results of such functions results in a crash.
91 86
92 One solution for this could be to define SYSTEM_MALLOC here, but 87 One solution for this could be to define SYSTEM_MALLOC in configure,
93 that does not currently work on this system. 88 but that does not currently work on this system.
94 89
95 It is possible to completely override the malloc implementation on 90 It is possible to completely override the malloc implementation on
96 AIX, but that involves putting the malloc functions in a shared 91 AIX, but that involves putting the malloc functions in a shared
diff --git a/src/s/bsd-common.h b/src/s/bsd-common.h
index ffb7a637488..bf78f4ec347 100644
--- a/src/s/bsd-common.h
+++ b/src/s/bsd-common.h
@@ -45,8 +45,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
45#define HAVE_TERMIOS 45#define HAVE_TERMIOS
46#define NO_TERMIO 46#define NO_TERMIO
47 47
48#define SYSV_SYSTEM_DIR
49
50/* If the system's imake configuration file defines `NeedWidePrototypes' 48/* If the system's imake configuration file defines `NeedWidePrototypes'
51 as `NO', we must define NARROWPROTO manually. Such a define is 49 as `NO', we must define NARROWPROTO manually. Such a define is
52 generated in the Makefile generated by `xmkmf'. If we don't 50 generated in the Makefile generated by `xmkmf'. If we don't
diff --git a/src/s/cygwin.h b/src/s/cygwin.h
index 93df925fcab..1b78ada53bd 100644
--- a/src/s/cygwin.h
+++ b/src/s/cygwin.h
@@ -89,7 +89,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
89#define CYGWIN 1 89#define CYGWIN 1
90 90
91#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 91#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
92#define SYSV_SYSTEM_DIR 1
93 92
94#define HAVE_SOCKETS 93#define HAVE_SOCKETS
95 94
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 5c8db1242e1..146bfd693a2 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -114,15 +114,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
114/* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */ 114/* System uses OXTABS instead of the expected TAB3. (Copied from bsd386.h.) */
115#define TAB3 OXTABS 115#define TAB3 OXTABS
116 116
117/* Darwin ld insists on the use of malloc routines in the System framework. */
118#define SYSTEM_MALLOC
119
120/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */ 117/* Define HAVE_SOCKETS if system supports 4.2-compatible sockets. */
121#define HAVE_SOCKETS 118#define HAVE_SOCKETS
122 119
123/* start_of_text isn't actually used, so make it compile without error. */
124#define TEXT_START (0)
125
126/* Definitions for how to compile & link. */ 120/* Definitions for how to compile & link. */
127#ifdef HAVE_NS 121#ifdef HAVE_NS
128#define SYSTEM_PURESIZE_EXTRA 200000 122#define SYSTEM_PURESIZE_EXTRA 200000
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 2b53ec0413f..cfed343d6c5 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -25,13 +25,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
25/* Get most of the stuff from bsd-common */ 25/* Get most of the stuff from bsd-common */
26#include "bsd-common.h" 26#include "bsd-common.h"
27 27
28/* For mem-limits.h. */
29#define BSD4_2
30
31#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) 28#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
32 29
33#define HAVE_GETLOADAVG 1 30#define HAVE_GETLOADAVG 1
34#define DECLARE_GETPWUID_WITH_UID_T
35 31
36/* This silences a few compilation warnings. */ 32/* This silences a few compilation warnings. */
37#undef BSD_SYSTEM 33#undef BSD_SYSTEM
@@ -70,9 +66,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
70/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */ 66/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */
71#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS 67#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
72 68
73/* Define USE_MMAP_FOR_BUFFERS to let Emacs use mmap(2) to allocate
74 buffer text. This overrides REL_ALLOC. */
75#define USE_MMAP_FOR_BUFFERS 1
76
77/* arch-tag: 426529ca-b7c4-448f-b10a-d4dcdc9c78eb 69/* arch-tag: 426529ca-b7c4-448f-b10a-d4dcdc9c78eb
78 (do not change this comment) */ 70 (do not change this comment) */
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 80092f725fc..cf3b3079726 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -124,8 +124,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
124#define INTERRUPT_INPUT 124#define INTERRUPT_INPUT
125#endif /* emacs */ 125#endif /* emacs */
126 126
127#define SYSV_SYSTEM_DIR /* use dirent.h */
128
129#define POSIX /* affects getpagesize.h and systty.h */ 127#define POSIX /* affects getpagesize.h and systty.h */
130 128
131/* This is to work around mysterious gcc failures in some system versions. 129/* This is to work around mysterious gcc failures in some system versions.
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h
index 8d9c73e2368..ee0fa9abe02 100644
--- a/src/s/hpux10-20.h
+++ b/src/s/hpux10-20.h
@@ -113,12 +113,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
113 on HP-UX. (You get duplicate symbol errors on linking). */ 113 on HP-UX. (You get duplicate symbol errors on linking). */
114#undef _FILE_OFFSET_BITS 114#undef _FILE_OFFSET_BITS
115 115
116/* Define NO_REMAP if memory segmentation makes it not work well
117 to change the boundary between the text section and data section
118 when Emacs is dumped. If you define this, the preloaded Lisp
119 code will not be sharable; but that's better than failing completely. */
120#define NO_REMAP
121
122/* Define VIRT_ADDR_VARIES if the virtual addresses of 116/* Define VIRT_ADDR_VARIES if the virtual addresses of
123 pure and impure space as loaded can vary, and even their 117 pure and impure space as loaded can vary, and even their
124 relative order cannot be relied on. 118 relative order cannot be relied on.
@@ -131,7 +125,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
131#define DATA_SEG_BITS 0x40000000 125#define DATA_SEG_BITS 0x40000000
132 126
133#define DATA_START 0x40000000 127#define DATA_START 0x40000000
134#define TEXT_START 0x00000000
135 128
136/* Data type of load average, as read out of kmem. */ 129/* Data type of load average, as read out of kmem. */
137#define LOAD_AVE_TYPE double 130#define LOAD_AVE_TYPE double
@@ -147,9 +140,5 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
147/* No underscore please. */ 140/* No underscore please. */
148#define LDAV_SYMBOL "avenrun" 141#define LDAV_SYMBOL "avenrun"
149 142
150/* On USG systems these have different names. */
151#define index strchr
152#define rindex strrchr
153
154/* arch-tag: 8d8dcbf1-ca9b-48a1-94be-b750de18a5c6 143/* arch-tag: 8d8dcbf1-ca9b-48a1-94be-b750de18a5c6
155 (do not change this comment) */ 144 (do not change this comment) */
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h
index 1691daa6615..10481f609c3 100644
--- a/src/s/irix6-5.h
+++ b/src/s/irix6-5.h
@@ -20,7 +20,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 21
22#define IRIX6_5 /* used in m/iris4d */ 22#define IRIX6_5 /* used in m/iris4d */
23#include "usg5-4.h" 23#include "usg5-4-common.h"
24 24
25#undef _longjmp /* use system versions, not conservative aliases */ 25#undef _longjmp /* use system versions, not conservative aliases */
26#undef _setjmp 26#undef _setjmp
@@ -85,15 +85,13 @@ char *_getpty();
85 85
86#define NARROWPROTO 1 86#define NARROWPROTO 1
87 87
88#define USE_MMAP_FOR_BUFFERS 1
89
90#if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */ 88#if _MIPS_SZLONG == 64 /* -mabi=64 (gcc) or -64 (MIPSpro) */
91#define _LP64 /* lisp.h takes care of the rest */ 89#define _LP64 /* lisp.h takes care of the rest */
92#endif /* _MIPS_SZLONG */ 90#endif /* _MIPS_SZLONG */
93 91
94#undef SA_RESTART 92#undef SA_RESTART
95 93
96#undef TIOCSIGSEND /* defined in usg5-4.h */ 94#undef TIOCSIGSEND /* defined in usg5-4-common.h */
97 95
98/* Tested on Irix 6.5. SCM worked on earlier versions. */ 96/* Tested on Irix 6.5. SCM worked on earlier versions. */
99#define GC_SETJMP_WORKS 1 97#define GC_SETJMP_WORKS 1
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index ea32373e02b..f61fae57eff 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -40,7 +40,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
40/* SYSTEM_TYPE should indicate the kind of system you are using. 40/* SYSTEM_TYPE should indicate the kind of system you are using.
41 It sets the Lisp variable system-type. */ 41 It sets the Lisp variable system-type. */
42#define SYSTEM_TYPE "windows-nt" 42#define SYSTEM_TYPE "windows-nt"
43#define SYMS_SYSTEM syms_of_ntterm ()
44 43
45#define NO_MATHERR 1 44#define NO_MATHERR 1
46 45
@@ -63,19 +62,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
63 for received packets, so datagrams are broken too. */ 62 for received packets, so datagrams are broken too. */
64#define BROKEN_DATAGRAM_SOCKETS 1 63#define BROKEN_DATAGRAM_SOCKETS 1
65 64
66#define bzero(b, l) memset(b, 0, l)
67#define bcopy(s, d, l) memmove(d, s, l)
68#define bcmp(a, b, l) memcmp(a, b, l)
69
70/* bcopy (aka memmove aka memcpy at least on x86) under MSVC is quite safe. */
71#define GAP_USE_BCOPY 1
72#define BCOPY_UPWARD_SAFE 1
73#define BCOPY_DOWNWARD_SAFE 1
74
75/* If your system uses COFF (Common Object File Format) then define the
76 preprocessor symbol "COFF". */
77#define COFF 1
78
79#define MAIL_USE_POP 1 65#define MAIL_USE_POP 1
80#define MAIL_USE_SYSTEM_LOCK 1 66#define MAIL_USE_SYSTEM_LOCK 1
81 67
@@ -153,8 +139,10 @@ struct sigaction {
153#define HAVE_RANDOM 1 139#define HAVE_RANDOM 1
154#undef HAVE_SYSINFO 140#undef HAVE_SYSINFO
155#undef HAVE_LRAND48 141#undef HAVE_LRAND48
156#define HAVE_BCOPY 1 142#define HAVE_MEMCMP 1
157#define HAVE_BCMP 1 143#define HAVE_MEMCPY 1
144#define HAVE_MEMMOVE 1
145#define HAVE_MEMSET 1
158#define HAVE_LOGB 1 146#define HAVE_LOGB 1
159#define HAVE_FREXP 1 147#define HAVE_FREXP 1
160#define HAVE_FMOD 1 148#define HAVE_FMOD 1
@@ -281,8 +269,6 @@ typedef int pid_t;
281#define pclose _pclose 269#define pclose _pclose
282#define umask _umask 270#define umask _umask
283#define utimbuf _utimbuf 271#define utimbuf _utimbuf
284#define index strchr
285#define rindex strrchr
286#define strdup _strdup 272#define strdup _strdup
287#define strupr _strupr 273#define strupr _strupr
288#define strnicmp _strnicmp 274#define strnicmp _strnicmp
diff --git a/src/s/msdos.h b/src/s/msdos.h
index af272635968..8dd8e3cf490 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -38,23 +38,11 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
38 It sets the Lisp variable system-type. */ 38 It sets the Lisp variable system-type. */
39#define SYSTEM_TYPE "ms-dos" 39#define SYSTEM_TYPE "ms-dos"
40 40
41#define SYMS_SYSTEM syms_of_dosfns();syms_of_msdos();syms_of_win16select()
42
43#define SYSV_SYSTEM_DIR
44
45/* Define this is the compiler understands `volatile'. */
46#define HAVE_VOLATILE
47
48
49/* subprocesses should be defined if you want to have code for 41/* subprocesses should be defined if you want to have code for
50 asynchronous subprocesses (as used in M-x compile and M-x shell). 42 asynchronous subprocesses (as used in M-x compile and M-x shell).
51 This is the only system that needs this. */ 43 This is the only system that needs this. */
52#undef subprocesses 44#undef subprocesses
53 45
54/* If your system uses COFF (Common Object File Format) then define the
55 preprocessor symbol "COFF". */
56#define COFF
57
58/* Here, on a separate page, add any special hacks needed to make 46/* Here, on a separate page, add any special hacks needed to make
59 Emacs work on this system. For example, you might define certain 47 Emacs work on this system. For example, you might define certain
60 system call names that don't exist on your system, or that do 48 system call names that don't exist on your system, or that do
@@ -75,7 +63,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
75#define _longjmp longjmp 63#define _longjmp longjmp
76 64
77#define DATA_START (&etext + 1) 65#define DATA_START (&etext + 1)
78#define TEXT_START &start
79 66
80#define _NAIVE_DOS_REGS 67#define _NAIVE_DOS_REGS
81 68
@@ -104,10 +91,6 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
104#define IS_DIRECTORY_SEP(_c_) ((_c_) == '/' || (_c_) == '\\') 91#define IS_DIRECTORY_SEP(_c_) ((_c_) == '/' || (_c_) == '\\')
105#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP (_c_)) 92#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP (_c_))
106 93
107/* bcopy under djgpp is quite safe. */
108#define GAP_USE_BCOPY
109#define BCOPY_UPWARD_SAFE 1
110#define BCOPY_DOWNWARD_SAFE 1
111 94
112/* Mode line description of a buffer's type. */ 95/* Mode line description of a buffer's type. */
113#define MODE_LINE_BINARY_TEXT(buf) (NILP(buf->buffer_file_type) ? "T" : "B") 96#define MODE_LINE_BINARY_TEXT(buf) (NILP(buf->buffer_file_type) ? "T" : "B")
@@ -142,7 +125,5 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
142#define GC_SETJMP_WORKS 1 125#define GC_SETJMP_WORKS 1
143#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS 126#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
144 127
145#define NO_REMAP
146
147/* arch-tag: d184f860-815d-4ff4-8187-d05c0f3c37d0 128/* arch-tag: d184f860-815d-4ff4-8187-d05c0f3c37d0
148 (do not change this comment) */ 129 (do not change this comment) */
diff --git a/src/s/sol2-10.h b/src/s/sol2-10.h
index 7441eaa0210..fd7f30021ea 100644
--- a/src/s/sol2-10.h
+++ b/src/s/sol2-10.h
@@ -2,8 +2,6 @@
2 2
3#include "sol2-6.h" 3#include "sol2-6.h"
4 4
5#define SYSTEM_MALLOC
6
7/* This is used in list_system_processes. */ 5/* This is used in list_system_processes. */
8#define HAVE_PROCFS 1 6#define HAVE_PROCFS 1
9 7
diff --git a/src/s/sol2-6.h b/src/s/sol2-6.h
index 0c30b3d81f0..3b707aa5c3c 100644
--- a/src/s/sol2-6.h
+++ b/src/s/sol2-6.h
@@ -18,7 +18,7 @@ GNU General Public License for more details.
18You should have received a copy of the GNU General Public License 18You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21#include "usg5-4.h" 21#include "usg5-4-common.h"
22 22
23#define SOLARIS2 23#define SOLARIS2
24 24
@@ -34,11 +34,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
34#define HAVE_LIBKSTAT 34#define HAVE_LIBKSTAT
35#endif 35#endif
36 36
37/* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style 37/* This is the same definition as in usg5-4-common.h, but with sigblock/sigunblock
38 XIM support. */
39#define INHIBIT_X11R6_XIM
40
41/* This is the same definition as in usg5-4.h, but with sigblock/sigunblock
42 rather than sighold/sigrelse, which appear to be BSD4.1 specific. 38 rather than sighold/sigrelse, which appear to be BSD4.1 specific.
43 It may also be appropriate for SVR4.x 39 It may also be appropriate for SVR4.x
44 (x<2) but I'm not sure. fnf@cygnus.com */ 40 (x<2) but I'm not sure. fnf@cygnus.com */
diff --git a/src/s/template.h b/src/s/template.h
index 694a1046566..dd1e56f8553 100644
--- a/src/s/template.h
+++ b/src/s/template.h
@@ -85,11 +85,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
85 85
86/* #undef subprocesses */ 86/* #undef subprocesses */
87 87
88/* If your system uses COFF (Common Object File Format) then define the
89 preprocessor symbol "COFF". */
90
91/* #define COFF */
92
93/* Define CLASH_DETECTION if you want lock files to be written 88/* Define CLASH_DETECTION if you want lock files to be written
94 so that Emacs can tell instantly when you try to modify 89 so that Emacs can tell instantly when you try to modify
95 a file that someone else has modified in his Emacs. */ 90 a file that someone else has modified in his Emacs. */
@@ -108,9 +103,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
108 is not ':', #define this to be the appropriate character constant. */ 103 is not ':', #define this to be the appropriate character constant. */
109/* #define SEPCHAR ':' */ 104/* #define SEPCHAR ':' */
110 105
111/* Define this if the system can use mmap for buffer text allocation. */
112/* #define USE_MMAP_FOR_BUFFERS 1 */
113
114/* ============================================================ */ 106/* ============================================================ */
115 107
116/* Here, add any special hacks needed to make Emacs work on this 108/* Here, add any special hacks needed to make Emacs work on this
diff --git a/src/s/unixware.h b/src/s/unixware.h
index 864f09786b6..ac989d48e2c 100644
--- a/src/s/unixware.h
+++ b/src/s/unixware.h
@@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ 19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 21
22#include "usg5-4.h" 22#include "usg5-4-common.h"
23 23
24/* fnf@cygnus.com says these exist. */ 24/* fnf@cygnus.com says these exist. */
25#define HAVE_TCATTR 25#define HAVE_TCATTR
@@ -28,7 +28,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
28 28
29#undef HAVE_SYSV_SIGPAUSE 29#undef HAVE_SYSV_SIGPAUSE
30 30
31/* This is the same definition as in usg5-4.h, but with sigblock/sigunblock 31/* This is the same definition as in usg5-4-common.h, but with sigblock/sigunblock
32 rather than sighold/sigrelse, which appear to be BSD4.1 specific. 32 rather than sighold/sigrelse, which appear to be BSD4.1 specific.
33 It may also be appropriate for SVR4.x 33 It may also be appropriate for SVR4.x
34 (x<2) but I'm not sure. fnf@cygnus.com */ 34 (x<2) but I'm not sure. fnf@cygnus.com */
diff --git a/src/s/usg5-4.h b/src/s/usg5-4-common.h
index e667ffdc106..7ff5c6f7be3 100644
--- a/src/s/usg5-4.h
+++ b/src/s/usg5-4-common.h
@@ -35,10 +35,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
35 for terminal control. */ 35 for terminal control. */
36#define HAVE_TERMIO 36#define HAVE_TERMIO
37 37
38/* Define SYSV_SYSTEM_DIR to use the V.3 getdents/readir library
39 functions. Almost, but not quite the same as the 4.2 functions. */
40#define SYSV_SYSTEM_DIR
41
42/* The file containing the kernel's symbol table is called /unix. */ 38/* The file containing the kernel's symbol table is called /unix. */
43#define KERNEL_FILE "/unix" 39#define KERNEL_FILE "/unix"
44 40
@@ -50,22 +46,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
50#define _setjmp setjmp 46#define _setjmp setjmp
51#define _longjmp longjmp 47#define _longjmp longjmp
52 48
53/* On USG systems these have different names. */
54#ifndef HAVE_INDEX
55#define index strchr
56#endif /* ! defined (HAVE_INDEX) */
57#ifndef HAVE_RINDEX
58#define rindex strrchr
59#endif /* ! defined (HAVE_RINDEX) */
60
61/* The docs for system V/386 suggest v.3 has sigpause, so let's try it. */ 49/* The docs for system V/386 suggest v.3 has sigpause, so let's try it. */
62#define HAVE_SYSV_SIGPAUSE 50#define HAVE_SYSV_SIGPAUSE
63 51
64/* On USG systems signal handlers return void. */ 52/* On USG systems signal handlers return void. */
65#define SIGTYPE void 53#define SIGTYPE void
66 54
67#undef COFF
68
69/* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars. 55/* Get FIONREAD from <sys/filio.h>. Get <sys/ttold.h> to get struct tchars.
70 But get <termio.h> first to make sure ttold.h doesn't interfere. 56 But get <termio.h> first to make sure ttold.h doesn't interfere.
71 And don't try to use SIGIO yet. */ 57 And don't try to use SIGIO yet. */