From aba8c12f679c2324fa42e718beab8e9d57409102 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 14 Mar 1999 16:03:33 +0000 Subject: We have tested the patches on three platforms: NetBSD/macppc LinuxPPC FreeBSD 2.2.6-RELEASE All of them seem happy with the regression test. Note that, however, compiling with optimization enabled on NetBSD/macppc causes an initdb failure (other two platforms are ok). After checking the asm code, we are suspecting that might be a compiler(egcs) bug. Tatsuo Ishii --- src/backend/storage/buffer/s_lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/storage/buffer') diff --git a/src/backend/storage/buffer/s_lock.c b/src/backend/storage/buffer/s_lock.c index 10b649f3ef6..788d67dae55 100644 --- a/src/backend/storage/buffer/s_lock.c +++ b/src/backend/storage/buffer/s_lock.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.17 1999/02/13 23:18:02 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/s_lock.c,v 1.18 1999/03/14 16:03:00 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -118,7 +118,7 @@ _success: \n\ #endif /* __m68k__ */ -#if defined(PPC) +#if defined(__powerpc__) /* Note: need a nice gcc constrained asm version so it can be inlined */ static void tas_dummy() @@ -140,7 +140,7 @@ success: \n\ "); } -#endif /* PPC */ +#endif /* __powerpc__ */ #if defined(__mips) static void -- cgit v1.2.3