summaryrefslogtreecommitdiff
path: root/src/s
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
commitb49d8c96c1a916b263bcb1335c42d63d4431785d (patch)
tree29b8c6d5e930fc6dc6d954be509effc8897c95dd /src/s
parentb88abf27aeafbaf6cdb4c88bbd5cc7a2f668ff34 (diff)
downloademacs-b49d8c96c1a916b263bcb1335c42d63d4431785d.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')
-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)