]> git.saurik.com Git - wxWidgets.git/commitdiff
remove INSTANCE declaration which uses wrong dll export convention and is unneeded...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Feb 2005 00:02:09 +0000 (00:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 15 Feb 2005 00:02:09 +0000 (00:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/gsockmsw.cpp

index 73fe0f50a81e29a767fd7e312ffe4aa7ee4fa4a5..6c8f3401a0da8b05b93827ec7fa21e67cbd6e8fc 100644 (file)
@@ -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 <assert.h>
@@ -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];