tests, tlib.c: include conio.h for watcom builds

This commit is contained in:
sezero
2018-09-11 17:20:01 +03:00
parent 274d0d31c2
commit 186bb19d28
4 changed files with 16 additions and 4 deletions

View File

@@ -17,6 +17,9 @@
#include <sioux.h>
#endif
#ifdef __WATCOMC__
#include <conio.h>
#endif
#ifdef __DJGPP__
#include <conio.h>
#include <pc.h>

View File

@@ -17,6 +17,9 @@
#include <sioux.h>
#endif
#ifdef __WATCOMC__
#include <conio.h>
#endif
#ifdef __DJGPP__
#include <conio.h>
#include <pc.h>

View File

@@ -42,6 +42,9 @@ unsigned long hWndMain;
#include <Windows.h>
#endif
#ifdef __WATCOMC__
#include <conio.h>
#endif
#ifdef __DJGPP__
#include <conio.h>
#include <pc.h>
@@ -93,7 +96,7 @@ typedef struct
FxU16 width;
FxU16 height;
FxU16 mipmap_levels;
FxU32 data_offset; // in bytes
FxU32 data_offset; /* in bytes */
} TXSHeader;
typedef struct
@@ -1698,9 +1701,9 @@ static int drawChar( char character,
| \|
c---d */
if (character == 32) // space
if (character == 32) /* space */
return 1;
if (character == 8) // backspace
if (character == 8) /* backspace */
return -1;
if (character < 32)
return 0;

View File

@@ -17,6 +17,9 @@
#include <sioux.h>
#endif
#ifdef __WATCOMC__
#include <conio.h>
#endif
#ifdef __DJGPP__
#include <conio.h>
#include <pc.h>