21 lines
340 B
C
21 lines
340 B
C
#define JMP_BUF
|
|
#define USE_POSIX_TIME
|
|
#define HAS_TEST_AND_SET
|
|
typedef struct
|
|
{
|
|
int sema[4];
|
|
} slock_t;
|
|
|
|
#ifndef BIG_ENDIAN
|
|
#define BIG_ENDIAN 4321
|
|
#endif
|
|
#ifndef LITTLE_ENDIAN
|
|
#define LITTLE_ENDIAN 1234
|
|
#endif
|
|
#ifndef PDP_ENDIAN
|
|
#define PDP_ENDIAN 3412
|
|
#endif
|
|
#ifndef BYTE_ORDER
|
|
#define BYTE_ORDER BIG_ENDIAN
|
|
#endif
|