X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c6dd11c9825f2ec1efd321556f932b671f7ffec..4e5c6c33c530dc4b00cfcd58b6a0dbcae7e6e9d1:/src/msw/gsockmsw.cpp diff --git a/src/msw/gsockmsw.cpp b/src/msw/gsockmsw.cpp index 73fe0f50a8..6c8f3401a0 100644 --- a/src/msw/gsockmsw.cpp +++ b/src/msw/gsockmsw.cpp @@ -63,7 +63,7 @@ extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void); #define INSTANCE wxGetInstance() -#else +#else /* __GSOCKET_STANDALONE__ */ #include "gsockmsw.h" #include "gsocket.h" @@ -72,10 +72,10 @@ extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void); * be available and it must contain the app's instance * handle. */ - extern HINSTANCE hInst; +extern HINSTANCE hInst; #define INSTANCE hInst -#endif /* __GSOCKET_STANDALONE__ */ +#endif /* !__GSOCKET_STANDALONE__/__GSOCKET_STANDALONE__ */ #ifndef __WXWINCE__ #include @@ -132,7 +132,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];