diff options
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index 18d93b16..e97ab9f1 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -51,6 +51,16 @@ | |||
51 | #define _LP64 | 51 | #define _LP64 |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | #if defined(_WIN32) | ||
55 | #ifndef _WIN32_WINNT | ||
56 | #define _WIN32_WINNT 0x0501 | ||
57 | #else // _WIN32_WINNT | ||
58 | #if _WIN32_WINNT < 0x0501 | ||
59 | #error "Headers for Windows XP or later are required" | ||
60 | #endif // _WIN32_WINNT < 0x0501 | ||
61 | #endif // _WIN32_WINNT | ||
62 | #endif // _WIN32 | ||
63 | |||
54 | #include <stdio.h> | 64 | #include <stdio.h> |
55 | #include <stdlib.h> | 65 | #include <stdlib.h> |
56 | #include <stdint.h> | 66 | #include <stdint.h> |