Differential Revision: https://reviews.llvm.org/D94339
// Export symbols for the MLIR runner integration. All other symbols are hidden.
#ifndef _WIN32
#define API __attribute__((visibility("default")))
-#else
-#define API
-#endif // _WIN32
extern "C" API void __mlir_runner_init(llvm::StringMap<void *> &exportSymbols) {
auto exportSymbol = [&](llvm::StringRef name, auto ptr) {
extern "C" API void __mlir_runner_destroy() { resetDefaultAsyncRuntime(); }
+#endif // _WIN32
+
#endif // MLIR_ASYNCRUNTIME_DEFINE_FUNCTIONS