diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-15 19:08:43 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-15 19:08:43 +0000 |
commit | d464704f111d211c1f1ff9ef23ef1d755054be00 (patch) | |
tree | b58b17b645dc463322e5fca57fe282360db659c9 /ruby_1_8_5/wince/sys/types.h | |
parent | e4f06b3f2dec4b5d6334c5e9907e1cecbf649fc4 (diff) |
add tag v1_8_5_54
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_5_54@12952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby_1_8_5/wince/sys/types.h')
-rw-r--r-- | ruby_1_8_5/wince/sys/types.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/ruby_1_8_5/wince/sys/types.h b/ruby_1_8_5/wince/sys/types.h new file mode 100644 index 0000000000..541d5e8361 --- /dev/null +++ b/ruby_1_8_5/wince/sys/types.h @@ -0,0 +1,60 @@ +#ifndef SYS_TYPES_H +#define SYS_TYPES_H 1 + +#define BIG_ENDIAN 1234 +#define LITTLE_ENDIAN 4321 + +#ifdef MIPS +#define BYTE_ORDER LITTLE_ENDIAN +#endif + +//#if UNDER_CE > 201 +// typedef unsigned long time_t; +// #define _TIME_T_DEFINED_ +//#endif +typedef unsigned long dev_t; +typedef unsigned long ino_t; +#ifndef _MODE_T_DEFINED_ + typedef unsigned long mode_t; + #define _MODE_T_DEFINED_ +#endif + +typedef long clock_t; + +#ifndef _PTRDIFF_T_DEFINED +typedef long ptrdiff_t; +#define _PTRDIFF_T_DEFINED +#endif + +typedef long off_t; + +//typedef unsigned char u_char; +//typedef unsigned short u_short; + +#ifndef _CADDR_T_DEFINED_ +typedef unsigned char * caddr_t; +#define _CADDR_T_DEFINED_ +#endif + +#ifndef _SIZE_T_DEFINED_ +typedef unsigned int size_t; +#define _SIZE_T_DEFINED_ +#endif + +//typedef unsigned char u_int8_t; + +//typedef short int16_t; +//typedef unsigned short u_int16_t; + +//typedef int int32_t; +//typedef unsigned int u_int32_t; + +//typedef unsigned long u_long; +//typedef unsigned int u_int; + +//#ifndef _TIME_T_DEFINED_ +//typedef unsigned long time_t; +//#define _TIME_T_DEFINED_ +//#endif + +#endif |