]> git.sesse.net Git - vlc/commitdiff
Qt: fix Win32 MOC breakage
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 17 Jun 2013 21:04:32 +0000 (23:04 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 17 Jun 2013 21:04:32 +0000 (23:04 +0200)
Introduced by WIN32 -> _WIN32 probably

Close #8804

modules/gui/qt4/Modules.am

index 7f7f2cb8b29121b21f05340626da8046c9b93ab0..4235a62fc735000a1451b7d95f323732f8d0dc6a 100644 (file)
@@ -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