68 lines
2.5 KiB
Plaintext
68 lines
2.5 KiB
Plaintext
--- include/unixconf.h.orig Tue Dec 10 21:20:08 1996
|
|
+++ include/unixconf.h Fri Jul 24 17:19:18 1998
|
|
@@ -19,7 +19,11 @@
|
|
*/
|
|
|
|
/* define exactly one of the following four choices */
|
|
-#define BSD 1 /* define for 4.n BSD */
|
|
+/* procure the real define BSD */
|
|
+#ifdef HAVE_SYS_PARAM_H
|
|
+#include <sys/param.h>
|
|
+#endif
|
|
+/* #define BSD 1 /* define for 4.n BSD */
|
|
/* also for relatives like SunOS, Linux and DG/UX */
|
|
/* #define ULTRIX /* define for Ultrix v3.0 or higher (but not lower) */
|
|
/* Use BSD for < v3.0 */
|
|
@@ -33,7 +37,7 @@
|
|
/* #define SVR4 /* use in addition to SYSV for System V Release 4 */
|
|
#define NETWORK /* if running on a networked system */
|
|
/* e.g. Suns sharing a playground through NFS */
|
|
-#define SUNOS4 /* SunOS 4.x */
|
|
+/* #define SUNOS4 /* SunOS 4.x */
|
|
/* #define LINUX /* Another Unix clone */
|
|
/* #define GENIX /* Yet Another Unix Clone */
|
|
/* #define HISX /* Bull Unix for XPS Machines */
|
|
@@ -42,12 +46,12 @@
|
|
/* #define AIX_31 /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain
|
|
* job control (note that AIX is SYSV otherwise)
|
|
* Also define this for AIX 3.2 */
|
|
-/* #define TEXTCOLOR /* Use System V r3.2 terminfo color support */
|
|
+#define TEXTCOLOR /* Use System V r3.2 terminfo color support */
|
|
/* and/or ANSI color support on termcap systems */
|
|
/* and/or X11 color */
|
|
-/* #define POSIX_JOB_CONTROL /* use System V / POSIX job control
|
|
+#define POSIX_JOB_CONTROL /* use System V / POSIX job control
|
|
* (e.g., VSUSP) */
|
|
-/* #define POSIX_TYPES /* use POSIX types for system calls and termios */
|
|
+#define POSIX_TYPES /* use POSIX types for system calls and termios */
|
|
/* define for many recent OS releases, including
|
|
* those with specific defines (since types are
|
|
* changing toward the standard from earlier chaos).
|
|
@@ -114,7 +118,7 @@
|
|
* "extra output" method is used, but not all systems provide access to
|
|
* a fine-grained timer.
|
|
*/
|
|
-/* #define TIMED_DELAY /* usleep() */
|
|
+#define TIMED_DELAY /* usleep() */
|
|
#endif
|
|
|
|
/*
|
|
@@ -125,7 +129,7 @@
|
|
* A stat system call is done on the mailbox every MAILCKFREQ moves.
|
|
*/
|
|
|
|
-#define MAIL /* Deliver mail during the game */
|
|
+/* #define MAIL /* Deliver mail during the game */
|
|
|
|
/* The Andrew Message System does mail a little differently from normal
|
|
* UNIX. Mail is deposited in the user's own directory in ~/Mailbox
|
|
@@ -286,7 +290,7 @@
|
|
#endif
|
|
|
|
#ifdef TIMED_DELAY
|
|
-# if defined(SUNOS4) || defined(LINUX)
|
|
+# if defined(SUNOS4) || defined(LINUX) || (defined(BSD) && BSD >= 199103)
|
|
# define msleep(k) usleep((k)*1000)
|
|
# endif
|
|
# ifdef ULTRIX
|