Explorar o código

allow building with LINK_ALL_STATIC

David Rose %!s(int64=20) %!d(string=hai) anos
pai
achega
07b77f24cc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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