Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b653d1e commit e2f3205Copy full SHA for e2f3205
src/include/port/linux.h
@@ -6,22 +6,26 @@
6
*/
7
#define JMP_BUF
8
#define USE_POSIX_TIME
9
-#define HAS_TEST_AND_SET
10
11
#if defined(__i386__)
12
typedef unsigned char slock_t;
+#define HAS_TEST_AND_SET
13
14
#elif defined(__sparc__)
15
16
17
18
#elif defined(__powerpc__)
19
typedef unsigned int slock_t;
20
21
22
#elif defined(__alpha__)
23
typedef long int slock_t;
24
25
26
#elif defined(__mips__)
27
28
29
30
#endif
31
0 commit comments