aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-11 11:06:16 +0100
committerMax Kellermann <max@duempel.org>2013-01-11 11:06:16 +0100
commit49f3855407379e5adaac1bf3d948246c6d615f98 (patch)
tree90da9f0d8c0abd0e93c752ff2bb1c73a7b0a591d /configure.ac
parenta98aa666203cad87913303d2f8b9ca07640518c3 (diff)
downloadmpd-49f3855407379e5adaac1bf3d948246c6d615f98.tar.gz
mpd-49f3855407379e5adaac1bf3d948246c6d615f98.tar.xz
mpd-49f3855407379e5adaac1bf3d948246c6d615f98.zip
configure.ac: enable WIN32_LEAN_AND_MEAN on Windows
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5515eb18e..ad7311427 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,6 +66,7 @@ mingw32* | windows*)
src/win/mpd_win32_rc.rc
])
AC_CHECK_TOOL(WINDRES, windres)
+ AM_CPPFLAGS="$AM_CPPFLAGS -DWIN32_LEAN_AND_MEAN"
AM_CPPFLAGS="$AM_CPPFLAGS -DWINVER=0x0501"
LIBS="$LIBS -lws2_32"
HAVE_WINDOWS=1