From: Marc G. Fournier Date: Sun, 1 Jun 1997 15:51:10 +0000 (+0000) Subject: From: Phil Nelson X-Git-Tag: REL6_1~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=187e0f240567ff5e3100b06f7d6235a183085056;p=postgresql From: Phil Nelson Subject: [PATCHES] Support for NetBSD/sparc The following is a patch to allow BSD44_derived to support NetBSD/sparc. --- diff --git a/src/include/port/BSD44_derived.h b/src/include/port/BSD44_derived.h index 919b38cffe..4d11f20e90 100644 --- a/src/include/port/BSD44_derived.h +++ b/src/include/port/BSD44_derived.h @@ -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 */