summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-12-17 14:47:12 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-12-17 14:47:12 +0000
commit84a013ea419efd0373846741b812d7ccf78881b9 (patch)
tree3546180752780ff810ccb529c43f9101548cbc43 /firmware/include
parentd4a46cba3018d6f3ebf440d41d7b9014a8e405df (diff)
downloadrockbox-84a013ea419efd0373846741b812d7ccf78881b9.zip
rockbox-84a013ea419efd0373846741b812d7ccf78881b9.tar.gz
rockbox-84a013ea419efd0373846741b812d7ccf78881b9.tar.bz2
rockbox-84a013ea419efd0373846741b812d7ccf78881b9.tar.xz
Attempt at fixing 64-bit sim warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11788 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/inttypes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/include/inttypes.h b/firmware/include/inttypes.h
index 6127485..e23e1da 100644
--- a/firmware/include/inttypes.h
+++ b/firmware/include/inttypes.h
@@ -36,6 +36,8 @@
#if ULONG_MAX == 0xfffffffful
#define int32_t long
#define uint32_t unsigned long
+#define intptr_t long
+#define uintptr_t unsigned long
#elif UINT_MAX == 0xffffffffu
#define int32_t int
#define uint32_t unsigned int
@@ -45,6 +47,8 @@
#if ULONG_MAX == 0xffffffffffffffffull
#define int64_t long
#define uint64_t unsigned long
+#define intptr_t long
+#define uintptr_t unsigned long
#else
#define int64_t long long
#define uint64_t unsigned long long