summaryrefslogtreecommitdiffstats
path: root/private/crt32/h/sizeptr.h
blob: 73562281995df976c84fc7606d695e065ea04223 (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
/***
*sizeptr.h - defines constants based on memory model
*
*	Copyright (c) 1985-1990, Microsoft Corporation.  All rights reserved.
*
*Purpose:
*	This file defines the constants SIZEC, SIZED, DIST, BDIST based
*	on the current memory model.
*	SIZEC is for far code models (medium, large).
*	SIZED is for large data models (compact, large).
*	[Internal]
*
*Revision History:
*	08-15-89  GJF	Fixed copyright, changed far to _far, near to _near
*	10-30-89  GJF	Fixed copyright (again)
*
****/


#ifdef M_I86MM
#undef SIZED
#define SIZEC
#endif

#ifdef M_I86CM
#undef SIZEC
#define SIZED
#endif

#ifdef M_I86LM
#define SIZEC
#define SIZED
#endif

#ifdef SS_NE_DS
#define SIZED
#endif

#ifdef SIZED
#define DIST _far
#define BDIST _near	/*bizzare distance*/
#else
#define DIST _near
#define BDIST _far	/*bizzare distance*/
#endif