Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2009-12-29 11:08:40 (GMT)
committer Hib Eris <hib@hiberis.nl>2009-12-29 16:35:59 (GMT)
commit9e435a09b62c4845052e46122911fe7c2f26d877 (patch)
tree2fe3929eb38abaa69a9f1fdae376fda69879a50c /Makefile.am
parentb85564ae90e10935efae109e8fc584c435f17277 (diff)
[windows] Properly define the _WIN32_WINNT version
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7880c3a..4647ca4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 \