2001-09-24 04:21:14 +02:00
|
|
|
/* Included by initialisation functions */
|
|
|
|
|
|
|
|
#if _MSC_VER != 0
|
2001-11-18 15:01:12 +01:00
|
|
|
extern __segment DosDataSeg; /* serves for all references to the DOS DATA segment
|
|
|
|
necessary for MSC+our funny linking model
|
|
|
|
*/
|
2001-09-24 04:21:14 +02:00
|
|
|
|
2001-11-18 15:01:12 +01:00
|
|
|
extern __segment DosTextSeg;
|
2001-09-24 04:21:14 +02:00
|
|
|
|
2001-11-18 15:01:12 +01:00
|
|
|
#define DOSFAR __based(DosDataSeg)
|
|
|
|
#define DOSTEXTFAR __based(DosTextSeg)
|
2001-09-24 04:21:14 +02:00
|
|
|
|
|
|
|
#elif defined(__TURBOC__)
|
|
|
|
|
2001-11-18 15:01:12 +01:00
|
|
|
#define DOSFAR FAR
|
|
|
|
#define DOSTEXTFAR FAR
|
2001-09-24 04:21:14 +02:00
|
|
|
|
|
|
|
#elif defined(__WATCOMC__)
|
|
|
|
|
2001-11-18 15:01:12 +01:00
|
|
|
#define DOSFAR FAR
|
|
|
|
#define DOSTEXTFAR FAR
|
2001-09-24 04:21:14 +02:00
|
|
|
|
2002-08-04 03:14:18 +02:00
|
|
|
#elif !defined(I86)
|
|
|
|
|
|
|
|
#define DOSFAR
|
|
|
|
#define DOSTEXTFAR
|
|
|
|
|
2001-09-24 04:21:14 +02:00
|
|
|
#else
|
2002-08-04 03:14:18 +02:00
|
|
|
|
2002-12-10 04:01:19 +01:00
|
|
|
#error unknown compiler - please adjust
|
|
|
|
We might even deal with a pre-ANSI compiler. This will certainly not compile.
|
2001-11-18 15:01:12 +01:00
|
|
|
#endif
|
|
|
|
extern BYTE DOSFAR version_flags; /* minor version number */
|