We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ee4d59 commit 126e3e7Copy full SHA for 126e3e7
android/build.gradle
@@ -14,7 +14,7 @@ allprojects {
14
15
androidSupportAppCompatV7Version = "28.0.0"
16
fbjniJavaOnlyVersion = "0.0.3"
17
- soLoaderNativeLoaderVersion = "0.10.4"
+ soLoaderNativeLoaderVersion = "0.10.5"
18
pytorchAndroidVersion = "1.12"
19
}
20
torchvision/csrc/macros.h
@@ -1,6 +1,6 @@
1
#pragma once
2
3
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(TORCHVISION_BUILD_STATIC_LIBS)
4
#if defined(torchvision_EXPORTS)
5
#define VISION_API __declspec(dllexport)
6
#else
0 commit comments