summaryrefslogtreecommitdiff
path: root/src/s/isc3-0.h
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-08-12 23:16:00 +0000
committerKarl Heuer <kwzh@gnu.org>1994-08-12 23:16:00 +0000
commitead7d19b3f775bb943b694e5d6fa29e51d4bc7f8 (patch)
treea544acad2195ff181b698879df3fefbe1a0fd91e /src/s/isc3-0.h
parente7b00662769f10da7a026d2dd4d529cbc20202f9 (diff)
downloademacs-ead7d19b3f775bb943b694e5d6fa29e51d4bc7f8.tar.gz
(NEED_SIOCTL): moved from isc-4.0.h, and disabled BROKEN_TIOCGWINSZ since it
works fine when you use <sioctl.h>. (C_SWITCH_SYSTEM): Add -D_SYSV3 to ensure availability of traditional non-standard functions.
Diffstat (limited to 'src/s/isc3-0.h')
-rw-r--r--src/s/isc3-0.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/s/isc3-0.h b/src/s/isc3-0.h
index c7527b659b8..62e6ebd80b3 100644
--- a/src/s/isc3-0.h
+++ b/src/s/isc3-0.h
@@ -23,13 +23,14 @@
#undef LIBX11_SYSTEM
#define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lc
-/* marko@tekelec.com (Marko Rauhamaa) says that his linker couldn't
- find memmove, but that sounds crazy - I thought all SYSV
- descendants had that. Let us know if this turns out to be wrong. */
-/* It is safe to have no parens around the args in the safe_bcopy call,
- and parens would screw up the prototype decl for memmove. */
-#define memmove(d, s, n) safe_bcopy (s, d, n)
+/* TIOCGWINSZ isn't broken; you just have to know where to find it. */
+#undef BROKEN_TIOCGWINSZ
+#define NEED_SIOCTL
+
+/* This does no harm, and is necessary for some ANSI compilers. */
+#define C_SWITCH_SYSTEM -D_SYSV3
/* This works around a bug in ISC 4.0 and 3.0; it fails
- to clear the "POSIX process" flag on an exec. */
+ to clear the "POSIX process" flag on an exec.
+ It won't be needed for 4.1. */
#define EXTRA_INITIALIZE __setostype (0)