From fd57f0eabf1a16e5c44c8e4d4a8e948787bde1e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Fri, 2 Jul 2010 21:29:33 +0300 Subject: [PATCH] C++ compile fix --- 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(+) diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp index eca75df894..9614f22ec6 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 d92d7e26f9..286db54818 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 3a1bb955b2..1b5e3a2c5c 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 /* malloc(), free() */ #include #include /* sin(), cos() */ -- 2.39.2