[vlc-commits] commit: C++ compile fix ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Fri Jul 2 20:29:41 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jul  2 21:29:33 2010 +0300| [fd57f0eabf1a16e5c44c8e4d4a8e948787bde1e7] | committer: Rémi Denis-Courmont 

C++ compile fix

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

 modules/gui/qt4/components/extended_panels.cpp |    2 ++
 modules/gui/qt4/input_manager.cpp              |    2 ++
 modules/video_filter/atmo/atmo.cpp             |    1 +
 3 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index eca75df..9614f22 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -22,6 +22,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#define __STDC_FORMAT_MACROS 1
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index d92d7e2..286db54 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -23,6 +23,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#define __STDC_FORMAT_MACROS 1
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
diff --git a/modules/video_filter/atmo/atmo.cpp b/modules/video_filter/atmo/atmo.cpp
index 3a1bb95..1b5e3a2 100644
--- a/modules/video_filter/atmo/atmo.cpp
+++ b/modules/video_filter/atmo/atmo.cpp
@@ -24,6 +24,7 @@
 /*****************************************************************************
 * Preamble
 *****************************************************************************/
+#define __STDC_FORMAT_MACROS 1
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
 #include <math.h>                                            /* sin(), cos() */



More information about the vlc-commits mailing list