diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-09-16 16:25:28 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-09-16 16:25:28 +0000 |
commit | df7a435587d14e66ad154301ff48a63ae2d5e768 (patch) | |
tree | e8b2d2b473efa55b070f373e9f9b990f9787c7cd | |
parent | 2b4be937879fcbb63bf466e609b3291085145740 (diff) | |
download | postgresql-df7a435587d14e66ad154301ff48a63ae2d5e768.tar.gz postgresql-df7a435587d14e66ad154301ff48a63ae2d5e768.zip |
Mklinux patch from Tatsuo.
-rw-r--r-- | src/include/port/linux.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h index b04e45bebab..20aa3071ae6 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -12,7 +12,10 @@ #if defined(PPC) typedef unsigned int slock_t; - +#elif defined(__alpha__) +typedef long int slock_t; +#else +typedef unsigned char slock_t; #endif #if defined(PPC) @@ -24,14 +27,6 @@ typedef unsigned int slock_t; #undef NEED_I386_TAS_ASM #endif - #if defined(__alpha__) #undef NEED_I386_TAS_ASM #endif -#if defined(__alpha__) -typedef long int slock_t; - -#else -typedef unsigned char slock_t; - -#endif |