aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-07-29 14:09:11 +0000
committerBruce Momjian <bruce@momjian.us>1997-07-29 14:09:11 +0000
commit8d25436d70a0e5f286a48cf60f4ad3899251eff9 (patch)
tree92cc30865d10fa5553e07f7cbc321f3ff3109d13 /src/include/port/linux.h
parent7c5afb87c3d7c7608a3fbf894579428bc41484a9 (diff)
downloadpostgresql-8d25436d70a0e5f286a48cf60f4ad3899251eff9.tar.gz
postgresql-8d25436d70a0e5f286a48cf60f4ad3899251eff9.zip
mkLinux patches from Tatsuo Ishii.
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 7735f3ab0fd..261ce240a5f 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -7,11 +7,20 @@
# define JMP_BUF
# define USE_POSIX_TIME
# define USE_POSIX_SIGNALS
-# if !defined(PPC)
-# define NEED_I386_TAS_ASM
-# define HAS_TEST_AND_SET
+# define NEED_I386_TAS_ASM
+# define HAS_TEST_AND_SET
+
+# if defined(PPC)
+ typedef unsigned int slock_t;
+# else
typedef unsigned char slock_t;
# endif
+
+# if defined(PPC)
+# undef NEED_I386_TAS_ASM
+# undef HAVE_INT_TIMEZONE
+# endif
+
# if defined(sparc)
# undef NEED_I386_TAS_ASM
# endif