sc68fordevelopers
2.2.1
|
00001 00016 /* Copyright (C) 1998-2003 Benjamin Gerard */ 00017 00018 #ifndef _TYPE68_H_ 00019 #define _TYPE68_H_ 00020 00021 #include <config_type68.h> 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00031 typedef TYPE_U8 u8; 00032 typedef TYPE_S8 s8; 00034 typedef TYPE_U16 u16; 00035 typedef TYPE_S16 s16; 00037 typedef TYPE_U32 u32; 00038 typedef TYPE_S32 s32; 00040 typedef TYPE_U64 u64; 00041 typedef TYPE_S64 s64; 00046 #ifndef TYPE_CYCLE68 00047 # if SIZEOF_INT >= 4 00048 # define TYPE_CYCLE68 unsigned int 00049 # elif SIZEOF_LONG >= 4 00050 # define TYPE_CYCLE68 unsigned long 00051 # elif SIZEOF_LONG_LONG >= 4 00052 # define TYPE_CYCLE68 unsigned long long 00053 # else 00054 # error "Could not find a type for cycle68_t" 00055 # endif 00056 #endif 00057 00058 typedef TYPE_CYCLE68 cycle68_t; 00060 #ifdef __cplusplus 00061 } 00062 #endif 00063 00064 #endif /* #ifndef _TYPE68_H_ */ 00065