diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2012-12-02 13:20:44 +0000 |
commit | 13cc256e404620c1de0cbcc4e43ce1e2dbbc4898 (patch) | |
tree | 2732d02d7d51218d6eed98ac7fcfc5b8794896b5 /test/Headers/Inputs | |
parent | 657bc3d9848e3be92029b2416031340988cd0111 (diff) |
Notes
Diffstat (limited to 'test/Headers/Inputs')
-rw-r--r-- | test/Headers/Inputs/include/stdint.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Headers/Inputs/include/stdint.h b/test/Headers/Inputs/include/stdint.h new file mode 100644 index 0000000000000..7a1fddef82daf --- /dev/null +++ b/test/Headers/Inputs/include/stdint.h @@ -0,0 +1,18 @@ +#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 unsigned __INTPTR_TYPE__ uintptr_t; +#else +#error Every target should have __INTPTR_TYPE__ +#endif + +#endif /* STDINT_H */ |