diff --git a/libsrc/include/mydefs.hpp b/libsrc/include/mydefs.hpp index 12c6e60c..002660b9 100644 --- a/libsrc/include/mydefs.hpp +++ b/libsrc/include/mydefs.hpp @@ -25,7 +25,7 @@ #ifdef WIN32 - #ifdef NGINTERFACE_EXPORTS + #if NGINTERFACE_EXPORTS || NGLIB_EXPORTS || nglib_EXPORTS #define DLL_HEADER __declspec(dllexport) #else #define DLL_HEADER __declspec(dllimport) diff --git a/libsrc/include/nginterface.h b/libsrc/include/nginterface.h index 00d77d91..85ae8d6d 100644 --- a/libsrc/include/nginterface.h +++ b/libsrc/include/nginterface.h @@ -17,7 +17,7 @@ */ #ifdef WIN32 - #ifdef NGINTERFACE_EXPORTS + #if NGINTERFACE_EXPORTS || NGLIB_EXPORTS || nglib_EXPORTS #define DLL_HEADER __declspec(dllexport) #else #define DLL_HEADER __declspec(dllimport)