Commit 9e435a09 authored by Hib Eris's avatar Hib Eris

[windows] Properly define the _WIN32_WINNT version

parent b85564ae
ACLOCAL_AMFLAGS = -I m4
# Set the minimum required Windows version to Windows 2000 (0x0500).
if PLATFORM_WIN32
AM_CPPFLAGS = -D_WIN32_WINNT=0x0500
endif
SUBDIRS = \
cut-n-paste \
data \
......
......@@ -33,7 +33,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
......
......@@ -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
......
......@@ -31,7 +31,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment