aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShih-Ming Wang <smwang@google.com>2021-01-22 14:48:59 -0800
committerShih-Ming Wang <smwang@google.com>2021-01-29 17:18:00 -0800
commitf4b3397af2d48d3dc2db277e256ebe78c4e8559d (patch)
tree5f7395a99079db45119228e183e90092cf8075e1
parent13f182c9466e206971b1938ae7a8200c9b45f535 (diff)
downloadgemmlowp-f4b3397af2d48d3dc2db277e256ebe78c4e8559d.tar.gz
Support building host/vendor variants for tflite.
Test: Compile Bug: 178230712 Change-Id: I230a51da82034879904dbae3f34671b33ffc72ef
-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