[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.
- Patches for MSVC, Michael Goffioul, 2010/02/21
- Patches for MSVC, John W. Eaton, 2010/02/21
- Re: Patches for MSVC, Michael Goffioul, 2010/02/21
- Re: Patches for MSVC, Michael Goffioul, 2010/02/21
- Re: Patches for MSVC, John W. Eaton, 2010/02/21
- Re: Patches for MSVC,
Michael Goffioul <=
- Re: Patches for MSVC, Benjamin Lindner, 2010/02/22
- Re: Patches for MSVC, Michael Goffioul, 2010/02/22
- Re: Patches for MSVC, Benjamin Lindner, 2010/02/22
- Re: Patches for MSVC, John W. Eaton, 2010/02/22