aboutsummaryrefslogtreecommitdiff
path: root/internal/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/platform.h')
-rw-r--r--internal/platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/platform.h b/internal/platform.h
index ab71414..54517c3 100644
--- a/internal/platform.h
+++ b/internal/platform.h
@@ -30,9 +30,9 @@
#include <sys/time.h>
#endif
-#if defined ANDROID || defined __ANDROID__
-#include <malloc.h>
+#if defined __ANDROID__
#include <android/api-level.h>
+#include <malloc.h>
// The 18 here should be 16, but has to be 18 for now due
// to a Google-internal issue.
#if __ANDROID_API__ < 18