diff --git a/src/msw/gsockmsw.cpp b/src/msw/gsockmsw.cpp index c9e25fd2f1..937b39039b 100644 --- a/src/msw/gsockmsw.cpp +++ b/src/msw/gsockmsw.cpp @@ -58,7 +58,7 @@ #include "wx/msw/gsockmsw.h" #include "wx/gsocket.h" -extern "C" HINSTANCE wxGetInstance(void); +extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void); #define INSTANCE wxGetInstance() #else