]> www.fi.muni.cz Git - evince.git/blobdiff - Makefile.am
[windows] Properly define the _WIN32_WINNT version
[evince.git] / Makefile.am
index 7880c3a828fc05554ae6ae615a75d99117dd2ccc..4647ca4f93d33a528e5b17f2273cc2df1cf4eeba 100644 (file)
@@ -1,5 +1,10 @@
 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 \