From: Vadim Zeitlin Date: Sat, 16 Oct 2004 00:38:10 +0000 (+0000) Subject: fixed inconsistent dllspec warning in DLL build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5f315f781abadbb914affb7945fb78afd29846e6 fixed inconsistent dllspec warning in DLL build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/gsockmsw.cpp b/src/msw/gsockmsw.cpp index 937b39039b..df90c628ad 100644 --- a/src/msw/gsockmsw.cpp +++ b/src/msw/gsockmsw.cpp @@ -70,6 +70,7 @@ extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void); * be available and it must contain the app's instance * handle. */ +extern HINSTANCE hInst; #define INSTANCE hInst #endif /* __GSOCKET_STANDALONE__ */ @@ -116,7 +117,6 @@ LRESULT CALLBACK _GSocket_Internal_WinProc(HWND, UINT, WPARAM, LPARAM); /* Global variables */ -extern HINSTANCE INSTANCE; static HWND hWin; static CRITICAL_SECTION critical; static GSocket* socketList[MAXSOCKETS];