aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-03-14 16:03:33 +0000
committerBruce Momjian <bruce@momjian.us>1999-03-14 16:03:33 +0000
commitaba8c12f679c2324fa42e718beab8e9d57409102 (patch)
treead8d1616fae148f4965555490450fda011b1694c /src/include/port/linux.h
parente94fffc1c1c822b16b82dcf7dab8d82ed2625d3d (diff)
downloadpostgresql-aba8c12f679c2324fa42e718beab8e9d57409102.tar.gz
postgresql-aba8c12f679c2324fa42e718beab8e9d57409102.zip
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
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 81169b2c0c9..da57b2b9a3d 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -8,7 +8,7 @@
#define USE_POSIX_TIME
#define HAS_TEST_AND_SET
-#if defined(PPC)
+#if defined(__powerpc__)
typedef unsigned int slock_t;
#elif defined(__alpha)
@@ -34,6 +34,6 @@ typedef unsigned char slock_t;
/* #define HAVE_SIGSETJMP 1 */
#endif
-#if defined(PPC)
+#if defined(__powerpc__)
#undef HAVE_INT_TIMEZONE
#endif