summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2014-03-05 10:20:13 +0800
committerAmit Pundir <amit.pundir@linaro.org>2014-03-05 10:21:28 +0800
commita0286dbec2d87857f016ba3970a01618a5d1cb88 (patch)
tree621b0273cda4d986f91ebbf721537893c83a21be /config.h
parentfd8f330f75e568714b1cad50c76e47bcc6a833c8 (diff)
downloadandroid_external_flac-a0286dbec2d87857f016ba3970a01618a5d1cb88.tar.gz
android_external_flac-a0286dbec2d87857f016ba3970a01618a5d1cb88.tar.bz2
android_external_flac-a0286dbec2d87857f016ba3970a01618a5d1cb88.zip
config: set sizeof void pointer for LP64
Change-Id: I26b50db9dc1d3df084280ae08461ca651b7a66e1 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h b/config.h
index 6827125..b82014c 100644
--- a/config.h
+++ b/config.h
@@ -113,7 +113,11 @@
#define PACKAGE_VERSION ""
/* The size of a `void*', as computed by sizeof. */
+#if __LP64__
+#define SIZEOF_VOIDP 8
+#else
#define SIZEOF_VOIDP 4
+#endif
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1