3a0ccd1fae
- 3.3.0. - fixed packaging. - moved common data to hackdata port, to avoid nasty collision with slash. - compile and install recover. - only install manpages that correspond to stuff we run. - remove need for GMAKE. - include configuration files, allow for X11/plain/qt flavor (qt is not yet ready, it needs qt 2.0). Colors work much better, even under console if TERM is set to pcvt25.
62 lines
2.1 KiB
Plaintext
62 lines
2.1 KiB
Plaintext
$OpenBSD: patch-include_unixconf_h,v 1.1 2000/04/16 20:49:00 espie Exp $
|
|
--- include/unixconf.h.orig Sat Dec 11 06:20:51 1999
|
|
+++ include/unixconf.h Fri Apr 14 14:13:19 2000
|
|
@@ -19,7 +19,12 @@
|
|
*/
|
|
|
|
/* 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 4.x, DG/UX, and */
|
|
/* older versions of Linux */
|
|
/* #define ULTRIX */ /* define for Ultrix v3.0 or higher (but not lower) */
|
|
@@ -32,7 +37,7 @@
|
|
|
|
|
|
/* define any of the following that are appropriate */
|
|
-#define SVR4 /* use in addition to SYSV for System V Release 4 */
|
|
+/* #define SVR4 /* use in addition to SYSV for System V Release 4 */
|
|
/* including Solaris 2+ */
|
|
#define NETWORK /* if running on a networked system */
|
|
/* e.g. Suns sharing a playground through NFS */
|
|
@@ -45,6 +50,7 @@
|
|
/* #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 TERMLIB
|
|
#define TERMINFO /* uses terminfo rather than termcap */
|
|
/* Should be defined for most SYSV, SVR4 (including
|
|
* Solaris 2+), HPUX, and Linux systems. In
|
|
@@ -124,7 +130,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
|
|
|
|
/*
|
|
@@ -135,7 +141,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
|
|
@@ -296,7 +302,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
|