re-fix MinGW DLL compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2008-08-20 21:35:55 +00:00
parent c58d22381a
commit fda71b397a

View File

@ -168,7 +168,14 @@ private:
// placeholder for NULL string, to simplify this code
// NB: this is defined in string.cpp, not (non-existent) buffer.cpp
#ifdef __MINGW32__
// MinGW requires explicit WXDLLIMPEXP_DATA_BASE to avoid compilation
// errors
static WXDLLIMPEXP_DATA_BASE(Data) NullData;
#else
// but Visual C++ doesn't like it
static Data NullData;
#endif
void IncRef()
{