remove INSTANCE declaration which uses wrong dll export convention and is unneeded anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7fa03f0434
commit
854bac91fd
@ -63,7 +63,7 @@
|
||||
extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void);
|
||||
#define INSTANCE wxGetInstance()
|
||||
|
||||
#else
|
||||
#else /* __GSOCKET_STANDALONE__ */
|
||||
|
||||
#include "gsockmsw.h"
|
||||
#include "gsocket.h"
|
||||
@ -75,7 +75,7 @@ extern "C" WXDLLIMPEXP_BASE HINSTANCE wxGetInstance(void);
|
||||
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];
|
||||
|
Loading…
Reference in New Issue
Block a user