]> granicus.if.org Git - postgresql/commitdiff
From: Phil Nelson <phil@cs.wwu.edu>
authorMarc G. Fournier <scrappy@hub.org>
Sun, 1 Jun 1997 15:51:10 +0000 (15:51 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 1 Jun 1997 15:51:10 +0000 (15:51 +0000)
Subject: [PATCHES] Support for NetBSD/sparc

The following is a patch to allow BSD44_derived to support NetBSD/sparc.

src/include/port/BSD44_derived.h

index 919b38cffe053b38592789a65222fd5981379704..4d11f20e90b2519556b5345b0ee81a88c4e4bd68 100644 (file)
@@ -1,5 +1,10 @@
 #  define USE_POSIX_TIME
-#  define NEED_I386_TAS_ASM
+#  if defined(i386)
+#    define NEED_I386_TAS_ASM
+#  endif
+#  if defined(sparc)
+#    define NEED_SPARC_TAS_ASM
+#  endif
 #  define HAS_TEST_AND_SET
 #  if defined(__mips__)
 /* #    undef HAS_TEST_AND_SET */