[vlc-commits] contrib: build cddb with WIN32_LEAN_AND_MEAN

Rémi Denis-Courmont git at videolan.org
Sat Nov 5 17:28:00 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov  5 18:24:14 2011 +0200| [ea84947e082bfcd051da3d72de7c5b410faa1f92] | committer: Rémi Denis-Courmont

contrib: build cddb with WIN32_LEAN_AND_MEAN

This works around a conflict with <winioctl.h>.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea84947e082bfcd051da3d72de7c5b410faa1f92
---

 contrib/src/cddb/rules.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/src/cddb/rules.mak b/contrib/src/cddb/rules.mak
index 24aee96..da7323c 100644
--- a/contrib/src/cddb/rules.mak
+++ b/contrib/src/cddb/rules.mak
@@ -26,6 +26,6 @@ endif
 
 .cddb: cddb .regex
 	$(RECONF)
-	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-iconv CFLAGS="$(CFLAGS) -D_BSD_SOCKLEN_T_=int"
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-iconv CFLAGS="$(CFLAGS) -D_BSD_SOCKLEN_T_=int -DWIN32_LEAN_AND_MEAN"
 	cd $< && $(MAKE) install
 	touch $@



More information about the vlc-commits mailing list