summaryrefslogtreecommitdiff
path: root/src/include/storage/ipc.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-03-12 21:13:19 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-03-12 21:13:19 +0000
commit5dde558ce60db1f8747bbf745d56bd9cd5f4c7b7 (patch)
tree046cc029a35d6e30af46ea08f8eae259eb739a8d /src/include/storage/ipc.h
parentb66569e41fdecab3903fd8af6cbc8bb12ae653cd (diff)
downloadpostgresql-5dde558ce60db1f8747bbf745d56bd9cd5f4c7b7.tar.gz
From: Dan McGuirk <mcguirk@indirect.com>
Subject: [HACKERS] linux/alpha patches These patches lay the groundwork for a Linux/Alpha port. The port doesn't actually work unless you tweak the linker to put all the pointers in the first 32 bits of the address space, but it's at least a start. It implements the test-and-set instruction in Alpha assembly, and also fixes a lot of pointer-to-integer conversions, which is probably good anyway.
Diffstat (limited to 'src/include/storage/ipc.h')
-rw-r--r--src/include/storage/ipc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/ipc.h b/src/include/storage/ipc.h
index 7cc11e0baf..d0f17b9227 100644
--- a/src/include/storage/ipc.h
+++ b/src/include/storage/ipc.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: ipc.h,v 1.15 1997/03/03 23:34:27 scrappy Exp $
+ * $Id: ipc.h,v 1.16 1997/03/12 21:12:27 scrappy Exp $
*
* NOTES
* This file is very architecture-specific. This stuff should actually
@@ -32,7 +32,7 @@ extern void S_LOCK(slock_t *lock);
extern void S_UNLOCK(slock_t *lock);
extern void S_INIT_LOCK(slock_t *lock);
-#if defined(alpha) || \
+#if (defined(alpha) && !defined(linuxalpha)) || \
defined(hpux) || \
defined(irix5) || \
defined(nextstep)