summaryrefslogtreecommitdiff
path: root/src/include/port/univel.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/univel.h
parent9182481bea3b72eb7ea60d8fcc0b0c6ccd179fc5 (diff)
downloadpostgresql-69a46e9ce1f80056f5b72aaa80b29821bdf821c1.tar.gz
Enable Opteron/Itanium spinlocks.
Diffstat (limited to 'src/include/port/univel.h')
-rw-r--r--src/include/port/univel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/port/univel.h b/src/include/port/univel.h
index 16c85b9fa4..b81fbc47b1 100644
--- a/src/include/port/univel.h
+++ b/src/include/port/univel.h
@@ -7,7 +7,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