mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +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 );
|
MB_OK | MB_ICONINFORMATION );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _WIN32_WCE
|
||||||
static void
|
static void
|
||||||
connEvtAndError( CEAppGlobals* globals, WPARAM wParam )
|
connEvtAndError( CEAppGlobals* globals, WPARAM wParam )
|
||||||
{
|
{
|
||||||
|
@ -2463,6 +2464,7 @@ connEvtAndError( CEAppGlobals* globals, WPARAM wParam )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
LRESULT CALLBACK
|
LRESULT CALLBACK
|
||||||
WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
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)
|
= ce_sockwrap_new( MPPARM(globals->mpool)
|
||||||
globals->hWnd,
|
globals->hWnd,
|
||||||
got_data_proc,sock_state_change,
|
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 );
|
nSent = ce_sockwrap_send( globals->socketWrap, buf, len, addrp );
|
||||||
|
|
Loading…
Reference in a new issue