summaryrefslogtreecommitdiff
path: root/buildlib/inttypes.h.in
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-21 16:50:52 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-21 16:50:52 +0200
commit65bf851838611139239805bee63a7cea4cb0a309 (patch)
tree89865869c0b4ca26bc0f0a2774c43d3b122aa3a1 /buildlib/inttypes.h.in
parent5c1715d8f847a5a3d8b8128d2dcc8a7622a9df1b (diff)
* buildlib/inttypes.h.in:
- remove inttypes.h compatibility as providing such a c99 types compatibility conflicts with the usage of c99 type long long
Diffstat (limited to 'buildlib/inttypes.h.in')
-rw-r--r--buildlib/inttypes.h.in50
1 files changed, 0 insertions, 50 deletions
diff --git a/buildlib/inttypes.h.in b/buildlib/inttypes.h.in
deleted file mode 100644
index 3b43b7672..000000000
--- a/buildlib/inttypes.h.in
+++ /dev/null
@@ -1,50 +0,0 @@
-/* This is an ISO C 9X header file. We omit this copy to the include
- directory if the local platform does not have inttypes.h, it contains
- [u]int[8,16,32]_t fixed width types */
-
-#include <config.h>
-
-#undef int32_t
-#undef uint32_t
-#undef int16_t
-#undef uint16_t
-#undef int8_t
-#undef uint8_t
-
-/* Generate the fixed bit size types */
-#if SIZEOF_INT == 4
- typedef int int32_t;
- typedef unsigned int uint32_t;
-#else
-# if SIZEOF_LONG == 4
- typedef long int32_t;
- typedef unsigned long uint32_t;
-# else
-# if SIZEOF_SHORT == 4
- typedef short int32_t;
- typedef unsigned short uint32_t;
-# else
-# error Must have a form of 32-bit integer
-# endif
-# endif
-#endif
-
-#if SIZEOF_INT == 2
- typedef int int16_t;
- typedef unsigned int uint16_t;
-#else
-# if SIZEOF_LONG == 2
- typedef long int16_t;
- typedef unsigned long uint16_t;
-# else
-# if SIZEOF_SHORT == 2
- typedef short int16_t;
- typedef unsigned short uint16_t;
-# else
-# error Must have a form of 16-bit integer
-# endif
-# endif
-#endif
-
-typedef signed char int8_t;
-typedef unsigned char uint8_t;