[Lemon-devel] I can't believe

Alpár Jüttner alpar at cs.elte.hu
Sat Apr 19 22:25:47 CEST 2008


> Not you are the only one driven crazy by the medness windows.h actually is:
> 
> http://www.tilander.org/aurora/2008/01/include-windowsh.html

Thanks for the link.

> Actually, the badness of this header is now pretty much acknowledged all over 
> the developer world.
> 
> The solution seems to be to define
> 
> #define WIN32_LEAN_AND_MEAN
> 
> before including windows.h.


Unfortunately, this doesn't solve the problem. The right solution seems to be this:

#define NOMINMAX

Regards,
Alpar

> 
> Best regards,
> Gabor
> _______________________________________________
> Lemon-devel mailing list
> Lemon-devel at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-devel




More information about the Lemon-devel mailing list