am 1e5f0b6c: am 1d948ef7: libFLAC/stream_decoder.c : Fail safely to avoid a heap overflow.
* commit '1e5f0b6c187bb91dcbcb2da0479928d1577222f7':
libFLAC/stream_decoder.c : Fail safely to avoid a heap overflow.
diff --git a/config.h b/config.h
index 793995f..f168a69 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
diff --git a/libFLAC/Android.mk b/libFLAC/Android.mk
index 2adb498..6d97aa9 100644
--- a/libFLAC/Android.mk
+++ b/libFLAC/Android.mk
@@ -27,8 +27,6 @@
LOCAL_CFLAGS += -D_REENTRANT -DPIC -DU_COMMON_IMPLEMENTATION -fPIC
LOCAL_CFLAGS += -O3 -funroll-loops -finline-functions
-LOCAL_LDLIBS += -lm
-
LOCAL_ARM_MODE := arm
LOCAL_MODULE := libFLAC