summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/jni/platform/host/HostRuntime.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/jni/platform/host/HostRuntime.cpp b/core/jni/platform/host/HostRuntime.cpp
index 020b27e82bea..19f82998c1a3 100644
--- a/core/jni/platform/host/HostRuntime.cpp
+++ b/core/jni/platform/host/HostRuntime.cpp
@@ -391,6 +391,7 @@ public:
} // namespace android
+#ifndef _WIN32
using namespace android;
JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void*) {
@@ -407,3 +408,4 @@ JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void*) {
return JNI_VERSION_1_6;
}
+#endif