From bcac5f1982aa2b8ac06201b47c0777d5240ea29e Mon Sep 17 00:00:00 2001 From: Roger Hughston Date: Wed, 29 Jun 2005 22:27:51 +0000 Subject: [PATCH] Still fighting os and compiler versions VS: ---------------------------------------------------------------------- --- dtool/src/interrogatedb/py_panda.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtool/src/interrogatedb/py_panda.h b/dtool/src/interrogatedb/py_panda.h index 3ea5946962..81468f825d 100755 --- a/dtool/src/interrogatedb/py_panda.h +++ b/dtool/src/interrogatedb/py_panda.h @@ -58,7 +58,7 @@ using namespace std; #ifdef _WIN32 #define EXPORT_THIS __declspec(dllexport) -#define IMPORT_THIS __declspec(dllimport) +#define IMPORT_THIS extern __declspec(dllimport) #else #define EXPORT_THIS #define IMPORT_THIS extern @@ -868,7 +868,7 @@ int Dtool_Init_DTOOL_SUPPER_BASE(PyObject *self, PyObject *args, PyObject *kwds #else -extern IMPORT_THIS struct Dtool_PyTypedObject Dtool_DTOOL_SUPPER_BASE; +IMPORT_THIS struct Dtool_PyTypedObject Dtool_DTOOL_SUPPER_BASE; #endif // DTOOL_CREATE_SUPPER_BASE