summaryrefslogtreecommitdiff
path: root/buildlib/inttypes.h.in
diff options
context:
space:
mode:
authorLuca Bruno <lethalman88@gmail.com>2008-10-11 10:00:50 +0200
committerLuca Bruno <lethalman88@gmail.com>2008-10-11 10:00:50 +0200
commit8cd53bd4fe839c3135696ecbdca45909130a2dd9 (patch)
tree3eda70c81a6a397193114ce98b79831b58432f75 /buildlib/inttypes.h.in
parentd320fdc3539f686e690a4ae0cb3f941b0e1a0456 (diff)
* Compilation fixes and portability improvement for compiling APT against non-GNU libc
Diffstat (limited to 'buildlib/inttypes.h.in')
-rw-r--r--buildlib/inttypes.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/buildlib/inttypes.h.in b/buildlib/inttypes.h.in
index 3be720794..3b43b7672 100644
--- a/buildlib/inttypes.h.in
+++ b/buildlib/inttypes.h.in
@@ -4,6 +4,13 @@
#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;