Make mono_polling_required a public symbol (#54592)
authorSteve Pfister <steveisok@users.noreply.github.com>
Wed, 23 Jun 2021 13:38:02 +0000 (09:38 -0400)
committerGitHub <noreply@github.com>
Wed, 23 Jun 2021 13:38:02 +0000 (09:38 -0400)
Resolves build failure with the Android aot+llvm functional test

src/mono/mono/utils/mono-threads-coop.h

index 47c20c1..9759158 100644 (file)
@@ -20,7 +20,7 @@
 #include "mono/metadata/icalls.h"
 
 /* JIT specific interface */
-extern volatile size_t mono_polling_required;
+MONO_API_DATA volatile size_t mono_polling_required;
 
 /* Internal API */