aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/unixware.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-09-12 15:49:34 +0000
committerBruce Momjian <bruce@momjian.us>2003-09-12 15:49:34 +0000
commit69a46e9ce1f80056f5b72aaa80b29821bdf821c1 (patch)
tree237517dad117c7d52f20f277a6a99932da0bfe76 /src/include/port/unixware.h
parent9182481bea3b72eb7ea60d8fcc0b0c6ccd179fc5 (diff)
downloadpostgresql-69a46e9ce1f80056f5b72aaa80b29821bdf821c1.tar.gz
postgresql-69a46e9ce1f80056f5b72aaa80b29821bdf821c1.zip
Enable Opteron/Itanium spinlocks.
Diffstat (limited to 'src/include/port/unixware.h')
-rw-r--r--src/include/port/unixware.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port/unixware.h b/src/include/port/unixware.h
index da02084c697..734c2ef0fa7 100644
--- a/src/include/port/unixware.h
+++ b/src/include/port/unixware.h
@@ -10,7 +10,12 @@
***************************************/
#define USE_UNIVEL_CC
+#if defined(__ia64)
+typedef unsigned int slock_t;
+#else
typedef unsigned char slock_t;
+#endif
+
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321