[vlc-commits] Qt: fix Win32 MOC breakage
    Jean-Baptiste Kempf 
    git at videolan.org
       
    Mon Jun 17 23:05:25 CEST 2013
    
    
  
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 17 23:04:32 2013 +0200| [3380e1d48f3611e2ae44a59f97cb8ce4fcef6453] | committer: Jean-Baptiste Kempf
Qt: fix Win32 MOC breakage
Introduced by WIN32 -> _WIN32 probably
Close #8804
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3380e1d48f3611e2ae44a59f97cb8ce4fcef6453
---
 modules/gui/qt4/Modules.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/Modules.am b/modules/gui/qt4/Modules.am
index 7f7f2cb..4235a62 100644
--- a/modules/gui/qt4/Modules.am
+++ b/modules/gui/qt4/Modules.am
@@ -259,7 +259,7 @@ if HAVE_DARWIN
 	$(moc_verbose)$(MOC) -DQ_WS_MAC $(DEFS) -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) $(CPPFLAGS_qt4) -o $@ $<
 else
 if HAVE_WIN32
-	$(moc_verbose)$(MOC) -DWIN32 $(DEFS) -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) $(CPPFLAGS_qt4) -o $@ $<
+	$(moc_verbose)$(MOC) -D_WIN32 $(DEFS) -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) $(CPPFLAGS_qt4) -o $@ $<
 else
 	$(moc_verbose)$(MOC) $(DEFS) -I$(top_srcdir)/include -I$(top_builddir)/include -I$(top_builddir) $(CPPFLAGS_qt4) -o $@ $<
 endif
    
    
More information about the vlc-commits
mailing list