Hi, On Sun, Feb 28, 2010 at 3:00 PM, Xavi <[email protected]> wrote:
> Hi Viktor and all, > > Well. Some questions. > If this is do it an implementation for MinGW. > I can't see any reason why this have to be compiler specific, please elaborate. > MinGW need to define _WIN32_WINNT before using the headers. > > http://oldwiki.mingw.org/index.php/header-w32api_h > > Should I force the code _WIN32_WINNT or use WINVER? > Is this true for mingwce? > Or rather WinCE in general. You have to check Windows API documentation if the features you need are available or not in this platform. I'd guess ipv6 isn't supported by WinCE by I may be wrong. Can I protect the code as standard headers? > ... > #if _WIN32_WINNT >= 0x0501 > IMO, no. (as described in prev answer) > __MINGW32__ and __MINGW64__ they are both compiler 's built-in macros. > Is defined in mingwce? > IMO this is not relevant, there is no reason to be compiler specific here. This is general HB_OS_WIN issue. If you want to guard against WinCE, us HB_OS_WIN_CE Harbour macro. Brgds, Viktor
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
