diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 39f08a9..8126b91 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -5,7 +5,7 @@ #include -#if defined(_WIN32) +#if defined(_WIN32) && !defined(VY_STATIC_LIB) #define VY_DLLEXPORT __declspec(dllexport) #else #define VY_DLLEXPORT