Last header patch for Mingw32 I think (wingdi.h)

Steven Edwards Steven_Ed4153 at yahoo.com
Thu Apr 25 19:21:33 CDT 2002


> > diff -u -r1.69 wingdi.h
> > --- wingdi.h	3 Apr 2002 22:08:27 -0000	1.69
> > +++ wingdi.h	25 Apr 2002 16:48:19 -0000
> > @@ -24,6 +24,14 @@
> >  extern "C" {
> >  #endif
> >  
> > +#ifdef __MINGW__
> > +#undef _MAX_PATH
> > +#undef _MAX_DIR
> > +#undef _MAX_EXT
> > +#undef _MAX_DRIVE
> > +#include "stdlib.h"
> > +#endif
> > +
> 
> Why do you need stdlib.h in wingdi.h?  It's not there under Windows.
> 
> -- 
> Alexandre Julliard

I think I needed it there for another define of MAX_PATH. stdlib.h does
exist in mingw. Do you think I should just use wines windef.h and
disregard this? I guess there could be a configure check for the MAX_*
definitions also.

Steve

"Every revolution was once a thought in one man's mind"
- Ralph Waldo Emerson 





More information about the wine-devel mailing list