]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.h
openwatcom is quite buggy with this software... ><
[16.git] / src / lib / 16_head.h
index 95292d5da43394989fceb6da57036bdda86e4f46..18e0e4c038eefd519118df1f1774aee617be5116 100644 (file)
  *
  */
 
+#if !defined(__LARGE__) && !defined(__COMPACT__) && !defined(__HUGE__)
+#error Invalid memory model for compiling project 16
+#endif
+
+#if !defined(__i86__) && defined(__i386__)
+#error i8088 only
+#endif
+
 #ifndef _LIBHEAD_H_
 #define _LIBHEAD_H_
 #include <i86.h>
@@ -29,6 +37,9 @@
 #include <time.h> // just for wait
 #include <stdlib.h>
 #include <ctype.h>
+#include <unistd.h>\r
+#include <fcntl.h>\r
+#include <sys/stat.h>
 #include "src/lib/types.h"
 
 /* Control codes for all keys on the keyboard */
 */
 
 static dword far* clockdw= (dword far*) 0x046C; /* 18.2hz clock */
+//static dword clockdw=0;
+extern int                     profilehandle,debughandle;
 
 #define        nil     ((void *)0)
 
@@ -144,4 +157,7 @@ long int filesize(FILE *fp);
 int US_CheckParm(char *parm,char **strings);
 //void Quit(char *error, ...);
 
+extern void CA_OpenDebug (void);\r
+extern void CA_CloseDebug (void);
+
 #endif/*_LIBHEAD_H_*/