Browse Source

allow building with LINK_ALL_STATIC

David Rose 20 years ago
parent
commit
07b77f24cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/interrogatedb/py_panda.h

+ 1 - 1
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