r22936 by jghali - Fix msvc compiler warning

scribus-commit scribus-commit at lists.scribus.net
Thu Apr 11 18:38:52 UTC 2019


Author: jghali
Date: Thu Apr 11 18:38:52 2019
New Revision: 22936

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22936
Log:
Fix msvc compiler warning

Modified:
    trunk/Scribus/scribus/plugins/colorwheel/colorwheelwidget.cpp

Modified: trunk/Scribus/scribus/plugins/colorwheel/colorwheelwidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22936&path=/trunk/Scribus/scribus/plugins/colorwheel/colorwheelwidget.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/colorwheel/colorwheelwidget.cpp	(original)
+++ trunk/Scribus/scribus/plugins/colorwheel/colorwheelwidget.cpp	Thu Apr 11 18:38:52 2019
@@ -7,7 +7,7 @@
 
 #include "colorwheelwidget.h"
 
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
 #define _USE_MATH_DEFINES
 #endif
 #include <cmath>




More information about the scribus-commit mailing list