9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
26 lines
627 B
Diff
26 lines
627 B
Diff
diff --git a/layersvt/api_dump.h b/layersvt/api_dump.h
|
|
index 6e13b6de3..33bee96e7 100644
|
|
--- a/layersvt/api_dump.h
|
|
+++ b/layersvt/api_dump.h
|
|
@@ -60,6 +60,8 @@
|
|
#include <unordered_set>
|
|
#include <utility>
|
|
|
|
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
|
+
|
|
#ifdef ANDROID
|
|
|
|
#include <android/log.h>
|
|
diff --git a/layersvt/screenshot.cpp b/layersvt/screenshot.cpp
|
|
index b9743371c..6ee65c576 100755
|
|
--- a/layersvt/screenshot.cpp
|
|
+++ b/layersvt/screenshot.cpp
|
|
@@ -44,6 +44,8 @@ using namespace std;
|
|
|
|
#include "screenshot_parsing.h"
|
|
|
|
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
|
+
|
|
#ifdef ANDROID
|
|
|
|
#include <android/log.h>
|