]> git.sesse.net Git - vlc/commitdiff
contrib: build cddb with WIN32_LEAN_AND_MEAN
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 5 Nov 2011 16:24:14 +0000 (18:24 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 5 Nov 2011 16:27:54 +0000 (18:27 +0200)
This works around a conflict with <winioctl.h>.

contrib/src/cddb/rules.mak

index 24aee962f18fbae1a811766851b993141913ee59..da7323c983fb89cf74c18f102eb1688e4f536d3a 100644 (file)
@@ -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 $@