summaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
authorBruce Momjian1998-12-18 17:25:41 +0000
committerBruce Momjian1998-12-18 17:25:41 +0000
commitb8d5f02e4e83cece64e932899bbb96709c2113ea (patch)
tree35fdd9a7974da698560d97063b030a1b8f699679 /src/include/port/linux.h
parentc0d816c57a21d161dca18c9f7b28b4bd27ba7d92 (diff)
I have ported PostgreSQL 6.4 to Cobalt Qube running Linux 2.0.33 with
MIPS cpu (I think it's R4000). I have tested the patches on LinuxPPC and FreeBSD. I believe they do not harm other platforms. -- Tatsuo Ishii
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 14de3b26fa5..81169b2c0c9 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -14,6 +14,9 @@ typedef unsigned int slock_t;
#elif defined(__alpha)
typedef long int slock_t;
+#elif defined(__mips)
+typedef unsigned int slock_t;
+
#else /* i386 probably */
typedef unsigned char slock_t;