This commit is contained in:
espie 2003-08-21 20:59:11 +00:00
parent 31df7d5d6e
commit bedf5cbb4f
2 changed files with 14 additions and 14 deletions

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-src_runtime_include_asm-base_h,v 1.1.1.1 2002/06/29 13:25:10 espie Exp $
--- src/runtime/include/asm-base.h.orig Fri Dec 3 20:59:31 1999
+++ src/runtime/include/asm-base.h Sat Jun 29 15:11:35 2002
$OpenBSD: patch-src_runtime_include_asm-base_h,v 1.2 2003/08/21 20:59:11 espie Exp $
--- src/runtime/include/asm-base.h.orig 1999-12-03 20:59:31.000000000 +0100
+++ src/runtime/include/asm-base.h 2003-08-21 22:39:39.000000000 +0200
@@ -16,7 +16,7 @@
#define FALSE 0
#define TRUE 1
-#if (!defined(GLOBALS_HAVE_UNDERSCORE)) && (defined(OPSYS_SUNOS) || defined(OPSYS_NEXTSTEP) || defined(OPSYS_WIN32))
+#if (!defined(GLOBALS_HAVE_UNDERSCORE)) && (defined(OPSYS_SUNOS) || defined(OPSYS_NEXTSTEP) || defined(OPSYS_WIN32)) || defined(OPSYS_OPENBSD)
+#if (!defined(GLOBALS_HAVE_UNDERSCORE)) && (defined(OPSYS_SUNOS) || defined(OPSYS_NEXTSTEP) || defined(OPSYS_WIN32)) || (defined(OPSYS_OPENBSD) && !defined(__ELF__))
# define GLOBALS_HAVE_UNDERSCORE
#endif

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-src_runtime_include_ml-unixdep_h,v 1.1.1.1 2002/06/29 13:25:10 espie Exp $
--- src/runtime/include/ml-unixdep.h.orig Fri Dec 3 20:59:32 1999
+++ src/runtime/include/ml-unixdep.h Sat Jun 29 15:11:35 2002
$OpenBSD: patch-src_runtime_include_ml-unixdep_h,v 1.2 2003/08/21 20:59:11 espie Exp $
--- src/runtime/include/ml-unixdep.h.orig 1999-12-03 20:59:32.000000000 +0100
+++ src/runtime/include/ml-unixdep.h 2003-08-21 08:47:17.000000000 +0200
@@ -95,7 +95,7 @@
#define INCLUDE_FCNTL_H <sys/fcntl.h>
#endif
@ -10,10 +10,11 @@ $OpenBSD: patch-src_runtime_include_ml-unixdep_h,v 1.1.1.1 2002/06/29 13:25:10 e
# define INCLUDE_DIRENT_H <dirent.h>
#elif defined(OPSYS_MACH)
# define INCLUDE_DIRENT_H <sys/dir.h>
@@ -281,6 +281,19 @@ extern char *sys_errlist[];
# define MAP_ANONYMOUS MAP_ANON
@@ -293,6 +293,19 @@ extern char *sys_errlist[];
# define HAS_SIGCONTEXT
# define HAS_STRERROR
#elif defined(OPSYS_NETBSD)
+#elif defined(OPSYS_OPENBSD)
+# define OS_NAME "BSD"
+# define HAS_POSIX_LIBRARIES
+# define HAS_BSD_SIGS
@ -26,7 +27,6 @@ $OpenBSD: patch-src_runtime_include_ml-unixdep_h,v 1.1.1.1 2002/06/29 13:25:10 e
+# define HAS_SIGCONTEXT
+# define HAS_STRERROR
+
+#elif defined(OPSYS_OPENBSD)
# define OS_NAME "BSD"
# define HAS_POSIX_LIBRARIES
# define HAS_BSD_SIGS
#endif