r17203 by jghali - fix build error of idml import plugin on win32

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 15 00:20:34 UTC 2012


Author: jghali
Date: Sun Jan 15 00:20:34 2012
New Revision: 17203

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17203
Log:
fix build error of idml import plugin on win32

Modified:
    trunk/Scribus/scribus/plugins/import/idml/importidml.cpp

Modified: trunk/Scribus/scribus/plugins/import/idml/importidml.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17203&path=/trunk/Scribus/scribus/plugins/import/idml/importidml.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/idml/importidml.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/idml/importidml.cpp Sun Jan 15 00:20:34 2012
@@ -21,22 +21,23 @@
 #include <QStack>
 #include <QDebug>
 
+#if defined(_MSC_VER)
+#define _USE_MATH_DEFINES
+#endif
+
 #include <cstdlib>
 #include <climits>
 #include <limits>
 
 #include "commonstrings.h"
-#include "ui/customfdialog.h"
+
 #include "importidml.h"
 #include "loadsaveplugin.h"
-#include "ui/missing.h"
-#include "ui/multiprogressdialog.h"
 #include "pagesize.h"
 #include "prefscontext.h"
 #include "prefsfile.h"
 #include "prefsmanager.h"
 #include "prefstable.h"
-#include "ui/propertiespalette.h"
 #include "rawimage.h"
 #include "scclocale.h"
 #include "sccolorengine.h"
@@ -53,6 +54,11 @@
 #include "util_formats.h"
 #include "util_icon.h"
 #include "util_math.h"
+
+#include "ui/customfdialog.h"
+#include "ui/missing.h"
+#include "ui/multiprogressdialog.h"
+#include "ui/propertiespalette.h"
 
 extern SCRIBUS_API ScribusQApp * ScQApp;
 




More information about the scribus-commit mailing list