Skip to content

Commit e2f3205

Browse files
committed
linux/sparc cleanup
1 parent b653d1e commit e2f3205

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/include/port/linux.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,26 @@
66
*/
77
#define JMP_BUF
88
#define USE_POSIX_TIME
9-
#define HAS_TEST_AND_SET
109

1110
#if defined(__i386__)
1211
typedef unsigned char slock_t;
12+
#define HAS_TEST_AND_SET
1313

1414
#elif defined(__sparc__)
1515
typedef unsigned char slock_t;
16+
#define HAS_TEST_AND_SET
1617

1718
#elif defined(__powerpc__)
1819
typedef unsigned int slock_t;
20+
#define HAS_TEST_AND_SET
1921

2022
#elif defined(__alpha__)
2123
typedef long int slock_t;
24+
#define HAS_TEST_AND_SET
2225

2326
#elif defined(__mips__)
2427
typedef unsigned int slock_t;
28+
#define HAS_TEST_AND_SET
2529

2630
#endif
2731

0 commit comments

Comments
 (0)