aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-07-21 21:43:52 +0000
committerGerd Moellmann1999-07-21 21:43:52 +0000
commit2327e4a0bc58b62bc4ff5673c504d0674216bec7 (patch)
tree2f4bc7a32771b2d5c834aad87d9ed5a6bb95de39 /src
parente18f9922555ebf2da6244c82bbf9fe7717c79b7b (diff)
downloademacs-2327e4a0bc58b62bc4ff5673c504d0674216bec7.tar.gz
emacs-2327e4a0bc58b62bc4ff5673c504d0674216bec7.zip
(NARROWPROTO): New.
Diffstat (limited to 'src')
-rw-r--r--src/s/freebsd.h12
-rw-r--r--src/s/gnu-linux.h2
-rw-r--r--src/s/gnu.h2
-rw-r--r--src/s/irix5-0.h3
-rw-r--r--src/s/netbsd.h2
-rw-r--r--src/s/sco4.h2
-rw-r--r--src/s/sco5.h2
-rw-r--r--src/s/template.h10
8 files changed, 33 insertions, 2 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index d4ae16cd814..af994acd428 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -92,7 +92,9 @@
92 92
93#define HAVE_WAIT_HEADER 93#define HAVE_WAIT_HEADER
94#define HAVE_GETLOADAVG 94#define HAVE_GETLOADAVG
95/*#define HAVE_GETPAGESIZE /* configure now puts this in config.h */ 95#if 0
96#define HAVE_GETPAGESIZE /* configure now puts this in config.h */
97#endif
96#define HAVE_TERMIOS 98#define HAVE_TERMIOS
97#define NO_TERMIO 99#define NO_TERMIO
98#define DECLARE_GETPWUID_WITH_UID_T 100#define DECLARE_GETPWUID_WITH_UID_T
@@ -132,3 +134,11 @@
132 remaining in /tmp or other directories with +t bit. 134 remaining in /tmp or other directories with +t bit.
133 To avoid this problem, you could #undef it to use no file lock. */ 135 To avoid this problem, you could #undef it to use no file lock. */
134/* #undef CLASH_DETECTION */ 136/* #undef CLASH_DETECTION */
137
138/* If the system's imake configuration file defines `NeedWidePrototypes'
139 as `NO', we must define NARROWPROTO manually. Such a define is
140 generated in the Makefile generated by `xmkmf'. If we don't
141 define NARROWPROTO, we will see the wrong function prototypes
142 for X functions taking float or double parameters. */
143
144#define NARROWPROTO 1
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index 82445048eba..2b9a80cf1a8 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -303,6 +303,8 @@ Boston, MA 02111-1307, USA. */
303#define BSD_PGRPS 303#define BSD_PGRPS
304#define setpgrp(pid,pgid) setpgid(pid,pgid) 304#define setpgrp(pid,pgid) setpgid(pid,pgid)
305 305
306#define NARROWPROTO 1
307
306/* Use mmap directly for allocating larger buffers. */ 308/* Use mmap directly for allocating larger buffers. */
307#ifdef DOUG_LEA_MALLOC 309#ifdef DOUG_LEA_MALLOC
308#undef REL_ALLOC 310#undef REL_ALLOC
diff --git a/src/s/gnu.h b/src/s/gnu.h
index 888b0a5c929..6a38dc6f588 100644
--- a/src/s/gnu.h
+++ b/src/s/gnu.h
@@ -76,3 +76,5 @@ Boston, MA 02111-1307, USA. */
76#ifndef NOT_C_CODE 76#ifndef NOT_C_CODE
77#include <fcntl.h> 77#include <fcntl.h>
78#endif 78#endif
79
80#define NARROWPROTO 1
diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h
index 477f85756d4..b898460215b 100644
--- a/src/s/irix5-0.h
+++ b/src/s/irix5-0.h
@@ -127,3 +127,6 @@ char *_getpty();
127/* Prevent the variable ospeed from being defined by -lcurses 127/* Prevent the variable ospeed from being defined by -lcurses
128 because it defines it with too few bytes. */ 128 because it defines it with too few bytes. */
129#define ospeed ospeed_ 129#define ospeed ospeed_
130
131#define NARROWPROTO 1
132
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index 891e610da61..19938051f68 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -79,3 +79,5 @@
79 this problem, and will also work on earlier NetBSD releases */ 79 this problem, and will also work on earlier NetBSD releases */
80 80
81#define LINKER $(CC) -nostartfiles 81#define LINKER $(CC) -nostartfiles
82
83#define NARROWPROTO 1
diff --git a/src/s/sco4.h b/src/s/sco4.h
index a450b41cb61..246348cf75b 100644
--- a/src/s/sco4.h
+++ b/src/s/sco4.h
@@ -148,3 +148,5 @@ Boston, MA 02111-1307, USA. */
148 It doesn't have the kind of sockets that emacsclient.c 148 It doesn't have the kind of sockets that emacsclient.c
149 and emacsserver.c would use. */ 149 and emacsserver.c would use. */
150#define NO_SOCKETS_IN_FILE_SYSTEM 150#define NO_SOCKETS_IN_FILE_SYSTEM
151
152#define NARROWPROTO 1
diff --git a/src/s/sco5.h b/src/s/sco5.h
index 00716962782..436abe00cdb 100644
--- a/src/s/sco5.h
+++ b/src/s/sco5.h
@@ -169,3 +169,5 @@ Boston, MA 02111-1307, USA. */
169#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xt.o 169#define START_FILES pre-crt0.o /usr/ccs/lib/crt1.o /usr/ccs/lib/values-Xt.o
170#undef LIB_STANDARD 170#undef LIB_STANDARD
171#define LIB_STANDARD -lc /usr/ccs/lib/crtn.o 171#define LIB_STANDARD -lc /usr/ccs/lib/crtn.o
172
173#define NARROWPROTO 1
diff --git a/src/s/template.h b/src/s/template.h
index ee6da5cc57a..7f49ca3047e 100644
--- a/src/s/template.h
+++ b/src/s/template.h
@@ -1,7 +1,7 @@
1/* Template for system description header files. 1/* Template for system description header files.
2 This file describes the parameters that system description files 2 This file describes the parameters that system description files
3 should define or not. 3 should define or not.
4 Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. 4 Copyright (C) 1985, 1986, 1992, 1999 Free Software Foundation, Inc.
5 5
6This file is part of GNU Emacs. 6This file is part of GNU Emacs.
7 7
@@ -163,6 +163,14 @@ Boston, MA 02111-1307, USA. */
163 163
164/* #define static */ 164/* #define static */
165 165
166/* If the system's imake configuration file defines `NeedWidePrototypes'
167 as `NO', we must define NARROWPROTO manually. Such a define is
168 generated in the Makefile generated by `xmkmf'. If we don't
169 define NARROWPROTO, we will see the wrong function prototypes
170 for X functions taking float or double parameters. */
171
172/* #define NARROWPROTO 1 */
173
166/* ============================================================ */ 174/* ============================================================ */
167 175
168/* After adding support for a new system, modify the large case 176/* After adding support for a new system, modify the large case