From 07b77f24ccb0e98508c5f41c58cf09972547380e Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 26 Jul 2005 20:16:21 +0000 Subject: [PATCH] allow building with LINK_ALL_STATIC --- dtool/src/interrogatedb/py_panda.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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