Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

#mingw #win32: include <float.h>

Ivan Mahonin32866c571f86
diff --git a/toonz/sources/tcomposer/tcomposer.cpp b/toonz/sources/tcomposer/tcomposer.cpp
index f7fc944c7..8c79b1c07 100644
--- a/toonz/sources/tcomposer/tcomposer.cpp
+++ b/toonz/sources/tcomposer/tcomposer.cpp
@@ -74,6 +74,14 @@
#include <QWaitCondition>
#include <QMessageBox>
+
+#ifdef _WIN32
+#ifndef x64
+#include <float.h>
+#endif
+#endif
+
+
//==================================================================================
using namespace std;
diff --git a/toonz/sources/toonz/main.cpp b/toonz/sources/toonz/main.cpp
index 8ae73fc4f..8d9330780 100644
--- a/toonz/sources/toonz/main.cpp
+++ b/toonz/sources/toonz/main.cpp
@@ -82,6 +82,14 @@
#include <QLibraryInfo>
#include <QHash>
+
+#ifdef _WIN32
+#ifndef x64
+#include <float.h>
+#endif
+#endif
+
+
using namespace DVGui;
#if defined LINETEST
const char *applicationName = "Toonz LineTest";