mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user