ed78089e0b
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@592 6ac86273-5f31-0410-b378-82cca8765d1b
33 lines
696 B
C
33 lines
696 B
C
/* Included by initialisation functions */
|
|
|
|
#if _MSC_VER != 0
|
|
extern __segment DosDataSeg; /* serves for all references to the DOS DATA segment
|
|
necessary for MSC+our funny linking model
|
|
*/
|
|
|
|
extern __segment DosTextSeg;
|
|
|
|
#define DOSFAR __based(DosDataSeg)
|
|
#define DOSTEXTFAR __based(DosTextSeg)
|
|
|
|
#elif defined(__TURBOC__)
|
|
|
|
#define DOSFAR FAR
|
|
#define DOSTEXTFAR FAR
|
|
|
|
#elif defined(__WATCOMC__)
|
|
|
|
#define DOSFAR FAR
|
|
#define DOSTEXTFAR FAR
|
|
|
|
#elif !defined(I86)
|
|
|
|
#define DOSFAR
|
|
#define DOSTEXTFAR
|
|
|
|
#else
|
|
|
|
#error unknown compiler - please adjust
|
|
We might even deal with a pre-ANSI compiler. This will certainly not compile.
|
|
#endif
|