diff options
author | Hib Eris <hib@hiberis.nl> | 2009-12-29 11:08:40 (GMT) |
---|---|---|
committer | Hib Eris <hib@hiberis.nl> | 2009-12-29 16:35:59 (GMT) |
commit | 9e435a09b62c4845052e46122911fe7c2f26d877 (patch) | |
tree | 2fe3929eb38abaa69a9f1fdae376fda69879a50c /shell | |
parent | b85564ae90e10935efae109e8fc584c435f17277 (diff) |
[windows] Properly define the _WIN32_WINNT version
Diffstat (limited to 'shell')
-rw-r--r-- | shell/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c index 23872ed..e906ac6 100644 --- a/shell/main.c +++ b/shell/main.c @@ -46,7 +46,9 @@ #endif #include <io.h> #include <conio.h> -#define _WIN32_WINNT 0x0500 +#if !(_WIN32_WINNT >= 0x0500) +#error "_WIN32_WINNT must be defined >= 0x0500" +#endif #include <windows.h> #endif |