bsd.h
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:1k
- #define USE_POSIX_TIME
- #if defined(i386)
- #define NEED_I386_TAS_ASM
- #define HAS_TEST_AND_SET
- #endif
- #if defined(sparc)
- #define NEED_SPARC_TAS_ASM
- #define HAS_TEST_AND_SET
- #endif
- #if defined(vax)
- #define NEED_VAX_TAS_ASM
- #define HAS_TEST_AND_SET
- #endif
- #if defined(__ns32k__)
- #define NEED_NS32K_TAS_ASM
- #define HAS_TEST_AND_SET
- #endif
- #if defined(__m68k__)
- #define HAS_TEST_AND_SET
- #endif
- #if defined(__arm32__)
- #define HAS_TEST_AND_SET
- #endif
- #if defined(__powerpc__)
- #define HAS_TEST_AND_SET
- typedef unsigned int slock_t;
- #endif
- #if defined(__mips__)
- /* # undef HAS_TEST_AND_SET */
- #endif
- #if !defined(__powerpc__)
- typedef unsigned char slock_t;
- #endif