
8 Apr
2009
8 Apr
'09
6:39 p.m.
Frank Mori Hess wrote:
I don't do much windows development, but I don't think a coroutine header file is supposed to redefine _WIN32_WINNT. Spitting out an error message saying it requires _WIN32_WINNT >= 0x400 seems more appropriate.
I don't know the mapping of that value to a Windows version. A colleague informs me that visibility of the relevant declarations was also an issue when he worked with the Fiber API six years ago; his team actually copied those declarations from winbase.h into an internal header file. The only other data point I have is the 'coco' library source [1], from which I borrowed that #define. [1] http://www.mr-edd.co.uk/?page_id=91