forked from OSchip/llvm-project
20 lines
364 B
C
20 lines
364 B
C
#ifndef STDINT_H
|
|
#define STDINT_H
|
|
|
|
#ifdef __INT32_TYPE__
|
|
typedef unsigned __INT32_TYPE__ uint32_t;
|
|
#endif
|
|
|
|
#ifdef __INT64_TYPE__
|
|
typedef unsigned __INT64_TYPE__ uint64_t;
|
|
#endif
|
|
|
|
#ifdef __INTPTR_TYPE__
|
|
typedef __INTPTR_TYPE__ intptr_t;
|
|
typedef unsigned __INTPTR_TYPE__ uintptr_t;
|
|
#else
|
|
#error Every target should have __INTPTR_TYPE__
|
|
#endif
|
|
|
|
#endif /* STDINT_H */
|