Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit df7a435

Browse files
committed
Mklinux patch from Tatsuo.
1 parent 2b4be93 commit df7a435

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/include/port/linux.h

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212

1313
#if defined(PPC)
1414
typedef unsigned int slock_t;
15-
15+
#elif defined(__alpha__)
16+
typedef long int slock_t;
17+
#else
18+
typedef unsigned char slock_t;
1619
#endif
1720

1821
#if defined(PPC)
@@ -24,14 +27,6 @@ typedef unsigned int slock_t;
2427
#undef NEED_I386_TAS_ASM
2528
#endif
2629

27-
2830
#if defined(__alpha__)
2931
#undef NEED_I386_TAS_ASM
3032
#endif
31-
#if defined(__alpha__)
32-
typedef long int slock_t;
33-
34-
#else
35-
typedef unsigned char slock_t;
36-
37-
#endif

0 commit comments

Comments
 (0)