Dmitry Timoshkov dmitry@baikal.ru writes:
@@ -22,6 +22,9 @@ #include <stdarg.h> #include <stdio.h>
+/* 0x0600 makes PROCESS_ALL_ACCESS not compatible with pre-Vista versions */ +#define _WIN32_WINNT 0x0500
This will break once the Wine headers are updated. If the definition is not reliable the test should avoid it.