changed a bit for os2 build

This commit is contained in:
hyunghwan.chung 2018-11-05 13:14:24 +00:00
parent 7699d332b8
commit 72f500e73b
2 changed files with 9 additions and 1 deletions

View File

@ -10,7 +10,7 @@
#include <ToolUtils.h> #include <ToolUtils.h>
static void InitToolBox () static void InitToolBox (void)
{ {
GrafPtr wmgrPort; GrafPtr wmgrPort;
@ -36,3 +36,9 @@ static void InitToolBox ()
SetPort (wmgrPort); SetPort (wmgrPort);
} }
static void EventLoop (void)
{
}

View File

@ -70,6 +70,7 @@
# include <time.h> # include <time.h>
# include <fcntl.h> # include <fcntl.h>
# include <io.h> # include <io.h>
# include <errno.h>
/* fake XPOLLXXX values */ /* fake XPOLLXXX values */
# define XPOLLIN (1 << 0) # define XPOLLIN (1 << 0)
@ -274,6 +275,7 @@ struct xtn_t
DWORD tc_overflow; DWORD tc_overflow;
#elif defined(__OS2__) #elif defined(__OS2__)
ULONG tc_last; ULONG tc_last;
ULONG tc_overflow;
#endif #endif
#if defined(USE_DEVPOLL) #if defined(USE_DEVPOLL)