/[gcl]/gcl/h/mingw.h
ViewVC logotype

Diff of /gcl/h/mingw.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by mjthomas, Mon Jul 7 11:49:26 2003 UTC revision 1.19 by mjthomas, Fri Jul 11 06:30:06 2003 UTC
# Line 45  Line 45 
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
# Line 103  extern DBEGIN_TY _stacktop, _stackbottom Line 111  extern DBEGIN_TY _stacktop, _stackbottom
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

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26