On 01/31/2012 10:46 PM, ArtemGr wrote:
> Tommi Mäkitalo<tommi@...>  writes:
>> But I wonder, how to solve that. The problem happens, when we compile
>> addrinfo.cpp. The first header it includes is cxxtools/net/addrinfo.h. There
>> the first header is cxxtools/api.h. There is this:
>>
>> ...
>>
>> #if defined(WIN32) || defined(_WIN32)
>>      // suppress min/max macros from win32 headers
>>      #ifndef NOMINMAX
>>      #define NOMINMAX
>>      #endif
>> ...
> Using
> #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
> in cxxtools/api.h solves that.
>
Thank you for the tip. I fixed it and checked it in.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to