1997-09-07 07:04:48 +02:00
|
|
|
#define HAS_TEST_AND_SET
|
|
|
|
typedef struct
|
|
|
|
{
|
1998-10-01 03:53:50 +02:00
|
|
|
int sema[4];
|
1997-09-08 23:56:23 +02:00
|
|
|
} slock_t;
|
1997-07-27 20:52:43 +02:00
|
|
|
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef BIG_ENDIAN
|
|
|
|
#define BIG_ENDIAN 4321
|
1997-07-27 20:52:43 +02:00
|
|
|
#endif
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef LITTLE_ENDIAN
|
|
|
|
#define LITTLE_ENDIAN 1234
|
1997-07-27 20:52:43 +02:00
|
|
|
#endif
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef PDP_ENDIAN
|
|
|
|
#define PDP_ENDIAN 3412
|
1997-07-27 20:52:43 +02:00
|
|
|
#endif
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef BYTE_ORDER
|
|
|
|
#define BYTE_ORDER BIG_ENDIAN
|
1997-07-27 20:52:43 +02:00
|
|
|
#endif
|