summaryrefslogtreecommitdiff
path: root/src/s/freebsd.h
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-07-21 21:43:52 +0000
committerGerd Moellmann <gerd@gnu.org>1999-07-21 21:43:52 +0000
commit2327e4a0bc58b62bc4ff5673c504d0674216bec7 (patch)
tree2f4bc7a32771b2d5c834aad87d9ed5a6bb95de39 /src/s/freebsd.h
parente18f9922555ebf2da6244c82bbf9fe7717c79b7b (diff)
downloademacs-2327e4a0bc58b62bc4ff5673c504d0674216bec7.tar.gz
(NARROWPROTO): New.
Diffstat (limited to 'src/s/freebsd.h')
-rw-r--r--src/s/freebsd.h12
1 files changed, 11 insertions, 1 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 @@
#define HAVE_WAIT_HEADER
#define HAVE_GETLOADAVG
-/*#define HAVE_GETPAGESIZE /* configure now puts this in config.h */
+#if 0
+#define HAVE_GETPAGESIZE /* configure now puts this in config.h */
+#endif
#define HAVE_TERMIOS
#define NO_TERMIO
#define DECLARE_GETPWUID_WITH_UID_T
@@ -132,3 +134,11 @@
remaining in /tmp or other directories with +t bit.
To avoid this problem, you could #undef it to use no file lock. */
/* #undef CLASH_DETECTION */
+
+/* If the system's imake configuration file defines `NeedWidePrototypes'
+ as `NO', we must define NARROWPROTO manually. Such a define is
+ generated in the Makefile generated by `xmkmf'. If we don't
+ define NARROWPROTO, we will see the wrong function prototypes
+ for X functions taking float or double parameters. */
+
+#define NARROWPROTO 1