cleanup for new compiler: -D option, winsock2.h, fix warning

This commit is contained in:
ehouse 2009-03-06 04:53:56 +00:00
parent d279664b00
commit c2d00ee2ae
3 changed files with 3 additions and 2 deletions

View file

@ -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__

View file

@ -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();
}

View file

@ -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;