openbsd-ports/databases/postgresql/patches/patch-al
1999-11-11 02:11:20 +00:00

25 lines
569 B
Plaintext

# $OpenBSD: patch-al,v 1.1 1999/11/11 02:11:20 kevlo Exp $
--- include/port/bsd.h.orig Fri Sep 24 00:16:06 1999
+++ include/port/bsd.h Fri Sep 24 00:16:41 1999
@@ -1,16 +1,16 @@
#define USE_POSIX_TIME
-#if defined(i386)
+#if defined(i386) || defined(__i386__)
#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
#endif
-#if defined(sparc)
+#if defined(sparc) || defined(__sparc__)
#define NEED_SPARC_TAS_ASM
#define HAS_TEST_AND_SET
#endif
-#if defined(vax)
+#if defined(vax) || defined(__vax__)
#define NEED_VAX_TAS_ASM
#define HAS_TEST_AND_SET
#endif