diff --git a/dtool/src/interrogatedb/py_panda.h b/dtool/src/interrogatedb/py_panda.h index 019e1dc11b..ba27dc4886 100755 --- a/dtool/src/interrogatedb/py_panda.h +++ b/dtool/src/interrogatedb/py_panda.h @@ -61,7 +61,7 @@ using namespace std; // this is tempory .. untill this is glued better into the panda build system /////////////////////////////////////////////////////////////////////////////////// -#ifdef _WIN32 +#if defined(_WIN32) && !defined(LINK_ALL_STATIC) #define EXPORT_THIS __declspec(dllexport) #define IMPORT_THIS extern __declspec(dllimport) #else