changed a bit for os2 build
This commit is contained in:
parent
7699d332b8
commit
72f500e73b
@ -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)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user