(svn r1248) -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge)

Works fine, beside some minor stuff:
  - Network is not working yet
  - Keyboard is not working
  - No MIDI support
  - 'A few file selector bugs involving drives'
This commit is contained in:
truelight
2004-12-23 14:46:16 +00:00
parent 3fa05f42b2
commit dfc5fdbb92
11 changed files with 5781 additions and 9 deletions

View File

@@ -13,6 +13,15 @@
# include <windows.h> /* GetTickCount */
# include <conio.h>
#endif
#ifdef __OS2__
# include <sys/time.h> /* gettimeofday */
# include <sys/types.h>
# include <unistd.h>
# include <conio.h>
# define STDIN 0 /* file descriptor for standard input */
#endif
#ifdef UNIX
# include <sys/time.h> /* gettimeofday */
# include <sys/types.h>
@@ -134,7 +143,7 @@ static void DedicatedHandleKeyInput()
#endif
static char input_line[200] = "";
#ifdef UNIX
#if defined(UNIX) || defined(__OS2__)
if (InputWaiting()) {
if (_exit_game)
return;