blob: 465b4b01e802887155b168fb6c1d7ae717ebdbec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
/*[
*************************************************************************
Name: host_inc.c
Author: James Bowman
Created: Novemeber 1993
Derived from: Original
Sccs ID: @(#)host_inc.h 1.6 07/21/94
Purpose: Wrapper for all host include files
(c)Copyright Insignia Solutions Ltd., 1993. All rights reserved.
*************************************************************************
]*/
#ifndef _HOST_INC_H
#define _HOST_INC_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <suplib.h>
#include <malloc.h>
#include <stdarg.h>
#include <assert.h>
#ifdef NTVDM
/*
* Include support for windows system calls; unfortunataly this defines
* lots of stuff that conflicts with base_def.h, so redefine the offending
* names, and delete them afterwards. This won't work well if a future port
* defines these as #defines rather than typedefs, but thats their problem
* not mine ....
*/
#ifdef ULONG
#undef ULONG
#endif
#ifdef USHORT
#undef USHORT
#endif
//#ifdef DOUBLE
//#undef DOUBLE
//#endif
#define USHORT NT_USHORT
#define ULONG NT_ULONG
#define UINT NT_UINT
#define INT NT_INT
#define BOOL NT_BOOL
#define FLOAT NT_FLOAT
//#define DOUBLE NT_DOUBLE
#include <windows.h>
#include <io.h>
#include <process.h>
#include <direct.h>
#include <sys/stat.h>
#undef USHORT
#undef ULONG
#undef UINT
#undef INT
#undef BOOL
#undef FLOAT
//#undef DOUBLE
#include <nt_extra.h>
#else /* !NTVDM */
#include <sys/param.h>
#endif /* !NTVDM */
#endif /* _HOST_INC_H */
|