mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
cleanup for new compiler: -D option, winsock2.h, fix warning
This commit is contained in:
parent
d279664b00
commit
c2d00ee2ae
3 changed files with 3 additions and 2 deletions
|
@ -66,6 +66,7 @@ endif
|
|||
STANDALONE = -DPREV_WAS_STANDALONE_ONLY
|
||||
COLOR_SEL = -DMY_COLOR_SEL
|
||||
CFLAGS += -D_WIN32_WCE=0x0400 -D_WIN32_IE=0x0400 -DUNDER_CE \
|
||||
-D__USE_W32_SOCKETS \
|
||||
$(STANDALONE) $(USE_RAW_MINGW) -DDRAW_LINK_DIRECT \
|
||||
-DXWFEATURE_TURNCHANGENOTIFY \
|
||||
-fdollars-in-identifiers -D__W32API_USE_DLLIMPORT__
|
||||
|
|
|
@ -2838,7 +2838,7 @@ got_data_proc( XP_U8* data, XP_U16 len, void* closure )
|
|||
|
||||
#ifdef COMMS_HEARTBEAT
|
||||
static void
|
||||
ce_reset_proc( void* closure )
|
||||
ce_reset_proc( void* XP_UNUSED_STANDALONE(closure) )
|
||||
{
|
||||
LOG_FUNC();
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "xwords4.h"
|
||||
#include <commctrl.h>
|
||||
#include <winuser.h>
|
||||
#include <winsock.h>
|
||||
#include <winsock2.h>
|
||||
|
||||
typedef unsigned char XP_U8;
|
||||
typedef signed char XP_S8;
|
||||
|
|
Loading…
Reference in a new issue