diff options
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r-- | src/include/port/linux.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h index 261ce240a5f..99d8eb65aef 100644 --- a/src/include/port/linux.h +++ b/src/include/port/linux.h @@ -12,8 +12,6 @@ # if defined(PPC) typedef unsigned int slock_t; -# else - typedef unsigned char slock_t; # endif # if defined(PPC) @@ -24,3 +22,13 @@ # if defined(sparc) # 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 |