78 lines
2.2 KiB
Plaintext
78 lines
2.2 KiB
Plaintext
--- config.h.orig Thu Aug 21 02:01:31 1997
|
|
+++ config.h Mon Apr 19 23:44:24 1999
|
|
@@ -38,6 +38,11 @@
|
|
# define NETBSD
|
|
# define mach_type_known
|
|
# endif
|
|
+# if defined(__OpenBSD__) && defined(__m68k__)
|
|
+# define M68K
|
|
+# define OPENBSD
|
|
+# define mach_type_known
|
|
+# endif
|
|
# if defined(vax)
|
|
# define VAX
|
|
# ifdef ultrix
|
|
@@ -49,7 +54,7 @@
|
|
# endif
|
|
# if defined(mips) || defined(__mips)
|
|
# define MIPS
|
|
-# if defined(ultrix) || defined(__ultrix) || defined(__NetBSD__)
|
|
+# if defined(ultrix) || defined(__ultrix) || defined(__NetBSD__) || defined(__OpenBSD__)
|
|
# define ULTRIX
|
|
# else
|
|
# if defined(_SYSTYPE_SVR4) || defined(SYSTYPE_SVR4) || defined(__SYSTYPE_SVR4__)
|
|
@@ -168,6 +173,11 @@
|
|
# define NETBSD
|
|
# define mach_type_known
|
|
# endif
|
|
+# if defined(__OpenBSD__) && defined(__i386__)
|
|
+# define I386
|
|
+# define OPENBSD
|
|
+# define mach_type_known
|
|
+# endif
|
|
# if defined(bsdi) && defined(i386)
|
|
# define I386
|
|
# define BSDI
|
|
@@ -247,8 +257,9 @@
|
|
/* MACOS and AMIGA variants) */
|
|
/* I386 ==> Intel 386 */
|
|
/* (SEQUENT, OS2, SCO, LINUX, NETBSD, */
|
|
- /* FREEBSD, THREE86BSD, MSWIN32, */
|
|
- /* BSDI, SUNOS5, NEXT variants) */
|
|
+ /* FREEBSD, THREE86BSD, OPENBSD, */
|
|
+ /* BSDI, SUNOS5, NEXT variants, */
|
|
+ /* MSWIN32) */
|
|
/* NS32K ==> Encore Multimax */
|
|
/* MIPS ==> R2000 or R3000 */
|
|
/* (RISCOS, ULTRIX variants) */
|
|
@@ -361,6 +372,11 @@
|
|
# define ALIGNMENT 2
|
|
# ifdef NETBSD
|
|
# define OS_TYPE "NETBSD"
|
|
+# endif
|
|
+# ifdef OPENBSD
|
|
+# define OS_TYPE "OPENBSD"
|
|
+# endif
|
|
+# if defined(NETBSD) || defined(OPENBSD)
|
|
# define HEURISTIC2
|
|
extern char etext;
|
|
# define DATASTART ((ptr_t)(&etext))
|
|
@@ -639,13 +655,16 @@
|
|
# ifdef NETBSD
|
|
# define OS_TYPE "NETBSD"
|
|
# endif
|
|
+# ifdef OPENBSD
|
|
+# define OS_TYPE "OPENBSD"
|
|
+# endif
|
|
# ifdef THREE86BSD
|
|
# define OS_TYPE "THREE86BSD"
|
|
# endif
|
|
# ifdef BSDI
|
|
# define OS_TYPE "BSDI"
|
|
# endif
|
|
-# if defined(FREEBSD) || defined(NETBSD) \
|
|
+# if defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \
|
|
|| defined(THREE86BSD) || defined(BSDI)
|
|
# define HEURISTIC2
|
|
extern char etext;
|