diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-04-27 14:46:51 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-04-27 14:46:51 +0000 |
commit | 1af6b56427fa5afbca88849c428bc872d60ad941 (patch) | |
tree | 35a932fdbf42f5e912d7aef7927b4ec9aeeadd57 /src/include/port/linux.h | |
parent | 718430ea4019db3bcb36b51b44e08a1b2163eae8 (diff) | |
download | postgresql-1af6b56427fa5afbca88849c428bc872d60ad941.tar.gz postgresql-1af6b56427fa5afbca88849c428bc872d60ad941.zip |
From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
Ok, I have finally gotten all of the defines for Dec/Alpha and
Linux/Alpha sorted out as Marc asked. There is no longer any need for
'-Dalpha' or '-Dlinuxalpha' in either the Dec/Alpha or the Linux/Alpha
template files (./src/template/{alpha,linuxalpha}). I have replaced every
instance of 'alpha' or '__alpha__' with '__alpha', as that appears to be
the common symbol between C compilers on both operating systems (RH4.2 &
DecUnix 4.0b) for alpha.
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r-- | src/include/port/linux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h index 1a7f74b8b98..b2a9cd1cb0a 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -13,7 +13,7 @@ #if defined(PPC) typedef unsigned int slock_t; -#elif defined(__alpha__) +#elif defined(__alpha) typedef long int slock_t; #else @@ -42,6 +42,6 @@ typedef unsigned char slock_t; #undef NEED_I386_TAS_ASM #endif -#if defined(__alpha__) +#if defined(__alpha) #undef NEED_I386_TAS_ASM #endif |