2012-09-26 17:40:37 +08:00
|
|
|
#ifndef STDINT_H
|
|
|
|
#define STDINT_H
|
|
|
|
|
2012-09-27 00:41:11 +08:00
|
|
|
#ifdef __INT32_TYPE__
|
|
|
|
typedef unsigned __INT32_TYPE__ uint32_t;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __INT64_TYPE__
|
|
|
|
typedef unsigned __INT64_TYPE__ uint64_t;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __INTPTR_TYPE__
|
|
|
|
typedef unsigned __INTPTR_TYPE__ uintptr_t;
|
2012-09-26 17:40:37 +08:00
|
|
|
#else
|
2012-09-27 00:41:11 +08:00
|
|
|
#error Every target should have __INTPTR_TYPE__
|
2012-09-26 17:40:37 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* STDINT_H */
|