mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-26 09:58:20 +01:00
Fix to compile for win32.
This commit is contained in:
parent
098cd1b297
commit
488a102977
1 changed files with 6 additions and 1 deletions
|
@ -2447,6 +2447,7 @@ doAbout( CEAppGlobals* globals )
|
|||
MB_OK | MB_ICONINFORMATION );
|
||||
}
|
||||
|
||||
#ifdef _WIN32_WCE
|
||||
static void
|
||||
connEvtAndError( CEAppGlobals* globals, WPARAM wParam )
|
||||
{
|
||||
|
@ -2463,6 +2464,7 @@ connEvtAndError( CEAppGlobals* globals, WPARAM wParam )
|
|||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
LRESULT CALLBACK
|
||||
WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
|
@ -3261,7 +3263,10 @@ ce_send_proc( const XP_U8* buf, XP_U16 len, const CommsAddrRec* addrp,
|
|||
= ce_sockwrap_new( MPPARM(globals->mpool)
|
||||
globals->hWnd,
|
||||
got_data_proc,sock_state_change,
|
||||
&globals->cmProcs, globals );
|
||||
#ifdef _WIN32_WCE
|
||||
&globals->cmProcs,
|
||||
#endif
|
||||
globals );
|
||||
}
|
||||
|
||||
nSent = ce_sockwrap_send( globals->socketWrap, buf, len, addrp );
|
||||
|
|
Loading…
Reference in a new issue