From 8639c4e5cde869afaa4f1758fce34b8cde052bd9 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 28 May 2006 00:42:34 +0000 Subject: [PATCH] define CALLBACK to quiet warnings for CE build. --- xwords4/wince/xptypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xwords4/wince/xptypes.h b/xwords4/wince/xptypes.h index 42edda445..eae6a8a57 100755 --- a/xwords4/wince/xptypes.h +++ b/xwords4/wince/xptypes.h @@ -126,6 +126,10 @@ XP_U16 wince_snprintf( XP_UCHAR* buf, XP_U16 len, XP_UCHAR* format, ... ); # define MS(func) func #endif +#ifdef _WIN32_WCE +# undef CALLBACK +# define CALLBACK +#endif #ifdef CPLUS }