fix palm and palm-arm compile problems including using changed APIs.

This commit is contained in:
ehouse 2009-11-19 02:22:32 +00:00
parent 370d04f318
commit 3d6b43f032
4 changed files with 5 additions and 1 deletions

View file

@ -718,8 +718,8 @@ comms_getInitialAddr( CommsAddrRec* addr )
addr->u.ip_relay.port = 10999;
{
char* name = RELAY_NAME_DEFAULT;
XP_MEMCPY( addr->u.ip_relay.hostName, name, XP_STRLEN(name)+1 );
char* room = RELAY_ROOM_DEFAULT;
XP_MEMCPY( addr->u.ip_relay.hostName, name, XP_STRLEN(name)+1 );
XP_MEMCPY( addr->u.ip_relay.invite, room, XP_STRLEN(room)+1 );
}
#elif defined PLATFORM_PALM

View file

@ -71,6 +71,7 @@ OBJS = $(PLATFORM)/pnolet.o \
$(PLATFORM)/palmdict.o \
$(PLATFORM)/palmdraw.o \
$(PLATFORM)/palmutil.o \
$(PLATFORM)/palmblnk.o \
$(PLATFORM)/dictui.o \
$(PLATFORM)/dictlist.o \
$(PLATFORM)/palmir.o \

View file

@ -891,6 +891,8 @@ palm_clr_draw_drawBoardArrow( DrawCtx* p_dctx, const XP_Rect* rectP,
static void
palm_draw_scoreBegin( DrawCtx* p_dctx, const XP_Rect* rect,
XP_U16 XP_UNUSED(numPlayers),
const XP_S16* XP_UNUSED(scores),
XP_S16 XP_UNUSED(remCount),
DrawFocusState XP_UNUSED(dfs) )
{
PalmDrawCtx* dctx = (PalmDrawCtx*)p_dctx;

View file

@ -1636,6 +1636,7 @@ showConnState( PalmAppGlobals* globals )
resID = RELAYSTATUS_PENDING_RESID;
break;
case COMMS_RELAYSTATE_CONNECTED:
case COMMS_RELAYSTATE_RECONNECTED:
resID = RELAYSTATUS_CONN_RESID;
break;
case COMMS_RELAYSTATE_ALLCONNECTED: