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

Alexandre Julliard julliard at winehq.com
Thu Apr 25 17:21:57 CDT 2002


"Steven Edwards" <Steven_Ed4153 at yahoo.com> writes:

> 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
julliard at winehq.com



More information about the wine-devel mailing list