diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-07-13 20:12:51 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-07-13 20:12:51 +0000 |
commit | 050371fccdaeac8fa426c8e95aedf4edb541e829 (patch) | |
tree | 5e7527c3abab4c07b53add64b9a48aaa442d719a /src/include/port/linux.h | |
parent | 540c114225c868d06a856836f1f7734c58f6dfef (diff) |
More cpu cleanups, only for 6.6.
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r-- | src/include/port/linux.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h index da57b2b9a3d..eed59333e09 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -8,18 +8,18 @@ #define USE_POSIX_TIME #define HAS_TEST_AND_SET -#if defined(__powerpc__) +#if if defined(__i386__) +typedef unsigned char slock_t; + +#elif defined(__powerpc__) typedef unsigned int slock_t; -#elif defined(__alpha) +#elif defined(__alpha__) typedef long int slock_t; -#elif defined(__mips) +#elif defined(__mips__) typedef unsigned int slock_t; -#else /* i386 probably */ -typedef unsigned char slock_t; - #endif #if (__GLIBC__ >= 2) |