octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patches for MSVC


From: Michael Goffioul
Subject: Re: Patches for MSVC
Date: Sun, 21 Feb 2010 16:46:02 +0000

2010/2/21 John W. Eaton <address@hidden>:
> | Is it ok to also include the '#undef' and the -DNOMINMAX addition
> | (see above)? Those usually appears at the same location, so separating
> | them will make it more difficult for me to do.
>
> Yes, I misunderstood the earlier change.  But you have
>
> | > | +## Avoid #define of min/max from windows.h header
> | > | +if test "$have_msvc" = "yes"; then
> | > | +  AC_DEFINE(NOMINMAX, 1, [Define if you want to avoid min/max macro 
> definition in Windows headers])
> | > | +fi
>
> Isn't windows.h included when using MinGW so that this would also be
> required for MinGW?

Well, MinGW provides its own version of windows.h, while I'm using
the standard MS Platform SDK. I guess the MinGW version does not
provides a #define for min/max.

Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]