From 72f500e73b1169b80ae8e6e04f81947fcb9f80b9 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Mon, 5 Nov 2018 13:14:24 +0000 Subject: [PATCH] changed a bit for os2 build --- moo/lib/main-mac.c | 8 +++++++- moo/lib/main.c | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/moo/lib/main-mac.c b/moo/lib/main-mac.c index c6023c7..5a85fba 100644 --- a/moo/lib/main-mac.c +++ b/moo/lib/main-mac.c @@ -10,7 +10,7 @@ #include -static void InitToolBox () +static void InitToolBox (void) { GrafPtr wmgrPort; @@ -36,3 +36,9 @@ static void InitToolBox () SetPort (wmgrPort); } + + +static void EventLoop (void) +{ + +} diff --git a/moo/lib/main.c b/moo/lib/main.c index 60f39c2..b28ecac 100644 --- a/moo/lib/main.c +++ b/moo/lib/main.c @@ -70,6 +70,7 @@ # include # include # include +# include /* fake XPOLLXXX values */ # define XPOLLIN (1 << 0) @@ -274,6 +275,7 @@ struct xtn_t DWORD tc_overflow; #elif defined(__OS2__) ULONG tc_last; + ULONG tc_overflow; #endif #if defined(USE_DEVPOLL)