]> git.sesse.net Git - vlc/commitdiff
C++ compile fix
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 2 Jul 2010 18:29:33 +0000 (21:29 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 2 Jul 2010 18:29:33 +0000 (21:29 +0300)
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/input_manager.cpp
modules/video_filter/atmo/atmo.cpp

index eca75df8947a20e2da68a0837bd64b98cebc9665..9614f22ec602dd6d188be36c4d424f1f94506cf2 100644 (file)
@@ -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
index d92d7e26f959d653bd9cb5c515cacb883011149b..286db5481843a7b879357d8747ec69e091e79bc9 100644 (file)
@@ -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
index 3a1bb955b2581f65a5e54c42fd86f4bd0efa39a0..1b5e3a2c5c8b1407229ccaf9b34e226285c43af5 100644 (file)
@@ -24,6 +24,7 @@
 /*****************************************************************************
 * Preamble
 *****************************************************************************/
+#define __STDC_FORMAT_MACROS 1
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
 #include <math.h>                                            /* sin(), cos() */