aboutsummaryrefslogtreecommitdiff
path: root/src/mit/windows/include/vs_nt.h
blob: 18ec61578b47003c6610f89f9880feb231b92846 (plain)
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
/* il 7/24/95 -- adding nt */

#ifndef _vs_nt_h_
#define _ve_nt_h_

#ifdef _WIN32



/* the #undef instructions are not needed, but left to avoid possible
 * conflicts with windows.h's similar definitions */

#undef FAR
#undef far
#undef _far
#undef __far

#define FAR
#define far
#define _far
#define __far

#undef _osmajor
#undef _osmanor
#define _osmajor _winmajor
#define _osminor _winminor

#undef _fstrlen
#undef _fstrcat
#define _fstrlen strlen
#define _fstrcat strcat

#include <stdlib.h>


#undef WINDOWS
#define WINDOWS

#endif
#endif