From 7b3f9b912eebee7b48a2a525a3cde2bbb4ee10b9 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Fri, 17 May 2013 15:32:43 +0200 Subject: [PATCH] QtGradientEditor: Fix compiler warning about redefined macro Change-Id: Ib946a2eb49bc7723dc44257581661a3b2b86956e Reviewed-by: Friedemann Kleint --- src/shared/qtgradienteditor/qtgradientwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/qtgradienteditor/qtgradientwidget.cpp b/src/shared/qtgradienteditor/qtgradientwidget.cpp index 5559011..2f1bda6 100644 --- a/src/shared/qtgradienteditor/qtgradientwidget.cpp +++ b/src/shared/qtgradienteditor/qtgradientwidget.cpp @@ -47,7 +47,9 @@ #include #include +#ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES +#endif #include "math.h" -- 2.7.4