diff --git a/demos/dbbrowse/browsedb.cpp b/demos/dbbrowse/browsedb.cpp index 72a5899492..122d3eeae3 100644 --- a/demos/dbbrowse/browsedb.cpp +++ b/demos/dbbrowse/browsedb.cpp @@ -34,7 +34,7 @@ // - darf nur einmal im Projekte definiert werden ?? Extra Databasse Klasse ? wxDbConnectInf ConnectInf; // Für DBase //---------------------------------------------------------------------------------------- -extern WXDLLEXPORT wxDbList* PtrBegDbList; /* from db.cpp, used in getting back error results from db connections */ +extern WXDLLEXPORT_DATA(wxDbList*) PtrBegDbList; /* from db.cpp, used in getting back error results from db connections */ //---------------------------------------------------------------------------------------- char *GetExtendedDBErrorMsg(char *ErrFile, int ErrLine) { diff --git a/src/common/db.cpp b/src/common/db.cpp index 405db443c5..4b23ad4a04 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -92,7 +92,7 @@ #include "wx/db.h" #endif -WXDLLEXPORT wxDbList* PtrBegDbList = 0; +WXDLLEXPORT_DATA(wxDbList*) PtrBegDbList = 0; char const *SQL_LOG_FILENAME = "sqllog.txt"; char const *SQL_CATALOG_FILENAME = "catalog.txt";