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:
parent
c58d22381a
commit
fda71b397a
@ -168,7 +168,14 @@ private:
|
|||||||
|
|
||||||
// placeholder for NULL string, to simplify this code
|
// placeholder for NULL string, to simplify this code
|
||||||
// NB: this is defined in string.cpp, not (non-existent) buffer.cpp
|
// 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;
|
static Data NullData;
|
||||||
|
#endif
|
||||||
|
|
||||||
void IncRef()
|
void IncRef()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user