aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2006-09-29 00:16:28 +0000
committerReuben Thomas <rrt@sc3d.org>2006-09-29 00:16:28 +0000
commit5c392c24398b95df09e474b15691d4159eb38efd (patch)
tree44c2a630ac0105dcca7ecc9e2c8b3d41197adb98 /include
parent65c2dbb6ae291536574e0066219921b70f593605 (diff)
downloadplptools-5c392c24398b95df09e474b15691d4159eb38efd.tar.gz
plptools-5c392c24398b95df09e474b15691d4159eb38efd.tar.bz2
plptools-5c392c24398b95df09e474b15691d4159eb38efd.zip
Fixes to compile on amd64 (plp_inttypes.h) and with gcc >= 4.1 (the
rest); patches from Debian bugs #384146, #386833 and #388831.
Diffstat (limited to 'include')
-rw-r--r--include/plp_inttypes.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/plp_inttypes.h b/include/plp_inttypes.h
index 0c92d80..acfa7b8 100644
--- a/include/plp_inttypes.h
+++ b/include/plp_inttypes.h
@@ -16,20 +16,11 @@
#endif
#ifndef GNU_INTTYPES
-#ifdef ISO_INTTYPES
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;
typedef int64_t s_int64_t;
-#else
-/* Last resort, declare ourselves */
-typedef unsigned char u_int8_t;
-typedef unsigned short u_int16_t;
-typedef unsigned int u_int32_t;
-typedef unsigned long long u_int64_t;
-typedef signed long long s_int64_t;
-#endif // ISO_INTTYPES
#endif // GNU_INTTYPES
#endif // _INTTYPES_H_