From bb2e4adae6c46eb8d19e9f7e3cd6e689c7a54ef2 Mon Sep 17 00:00:00 2001 From: casey langen Date: Tue, 10 Jan 2023 22:48:10 -0800 Subject: [PATCH] Fix core_c --- src/musikcore/musikcore_c.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/musikcore/musikcore_c.h b/src/musikcore/musikcore_c.h index f5b1a2d25..853bb9d33 100644 --- a/src/musikcore/musikcore_c.h +++ b/src/musikcore/musikcore_c.h @@ -40,14 +40,14 @@ #include #include -#ifndef mcsdk_export #ifdef WIN32 -#define mcsdk_export extern "C" __declspec(dllexport) + #ifdef EXPORT_SYMBOLS + #define mcsdk_export extern "C" __declspec(dllexport) + #else + #define mcsdk_export __declspec(dllimport) + #endif #else -#define mcsdk_export extern "C" -#endif -#else -#define mcsdk_export extern + #define mcsdk_export extern "C" #endif /*