From 6ca28e44e77227d7e0ccb0ab69bd3381e4069472 Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 13 Jul 2005 12:35:38 +0000 Subject: [PATCH] fix compile error --- wince/cemain.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wince/cemain.c b/wince/cemain.c index 5434995ec..5cd9c5e19 100755 --- a/wince/cemain.c +++ b/wince/cemain.c @@ -1663,7 +1663,11 @@ WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) case WM_TIMER: why = (XWTimerReason)wParam; - if ( why == TIMER_PENDOWN || why == TIMER_TIMERTICK || why == TIMER_HEARTBEAT ) { + if ( why == TIMER_PENDOWN || why == TIMER_TIMERTICK +#ifdef BEYOND_IR + || why == TIMER_HEARTBEAT +#endif + ) { XP_ASSERT( why < TIMER_NUM_PLUS_ONE ); /* Kill since they otherwise repeat, but kill before firing @@ -2158,7 +2162,7 @@ ce_util_setTimer( XW_UtilCtxt* uc, XWTimerReason why, XP_U16 when, case TIMER_TIMERTICK: howLong = 1000; /* 1 second */ break; -#ifndef XWFEATURE_STANDALONE_ONLY +#ifdef BEYOND_IR case TIMER_HEARTBEAT: howLong = when * 1000; break;