45 |
|
|
46 |
#undef DBEGIN_TY |
#undef DBEGIN_TY |
47 |
#define DBEGIN_TY unsigned int |
#define DBEGIN_TY unsigned int |
48 |
extern DBEGIN_TY _stacktop, _stackbottom, _dbegin; |
extern DBEGIN_TY _dbegin; |
49 |
|
|
50 |
|
#define AV |
51 |
|
#ifdef AV |
52 |
|
# define _stacktop cs_limit |
53 |
|
# define _stackbottom cs_org |
54 |
|
#else |
55 |
|
extern DBEGIN_TY _stacktop, _stackbottom; |
56 |
|
#endif |
57 |
|
|
58 |
/* define if there is no _cleanup, do here what needs |
/* define if there is no _cleanup, do here what needs |
59 |
to be done before calling unexec |
to be done before calling unexec |
111 |
if the pointe/r is on the C stack or the 0 pointer |
if the pointe/r is on the C stack or the 0 pointer |
112 |
in winnt our heap starts at DBEGIN |
in winnt our heap starts at DBEGIN |
113 |
*/ |
*/ |
114 |
|
#ifdef AV |
115 |
|
#define NULL_OR_ON_C_STACK(y) \ |
116 |
|
((y) == 0 || \ |
117 |
|
((y) > _stacktop && (y) < _stackbottom)) |
118 |
|
#else |
119 |
#define NULL_OR_ON_C_STACK(y) \ |
#define NULL_OR_ON_C_STACK(y) \ |
120 |
(((unsigned int)(y)) == 0 || \ |
(((unsigned int)(y)) == 0 || \ |
121 |
(((unsigned int)(y)) > _stacktop && ((unsigned int)(y)) < _stackbottom)) |
(((unsigned int)(y)) > _stacktop && ((unsigned int)(y)) < _stackbottom)) |
122 |
|
#endif |
123 |
|
|
124 |
#if defined ( IN_FILE ) || defined ( IN_SOCKETS ) |
#if defined ( IN_FILE ) || defined ( IN_SOCKETS ) |
125 |
# define HAVE_NSOCKET |
# define HAVE_NSOCKET |
126 |
#endif |
#endif |