On Wed, Sep 29, 2010 at 9:52 PM, JonY <[email protected]> wrote:
> On 9/29/2010 21:39, Dongsheng Song wrote:
>> But we can not ensure third party software DO NOT call those functions,
>> so we must drop them or defined in guard blocks like this:
>>
>> /* Windows 7 */
>> #if _WIN32_WINNT >= 0x0601
>> #endif
>>
>> /* Windows Vista or Server 2008 */
>> #if _WIN32_WINNT >= 0x0600
>> #endif
>>
> hacking the headers will not work due to how link tests work, linking
> will still succeed even without the prototype declared.

But I feel this is still better than nothing. This depends how the other
3rd party project carries out the tests. If it is only linking test then
it works. But if it is more than that (actually run it), then it will fail
under XP.

> Dropping them is also out of the question if we want to support Vista/7
> users.

BTW, what is the supported OS for MinGW-w64 32bit and 64bit
tool chain. Win2k onwards? Or XP onwards? I could not find this
out from the Wiki.



-- 
Xiaofan

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to