From c4e53fc36473bcf1faefddea2681baf2a2ee5ba1 Mon Sep 17 00:00:00 2001 From: rnv Date: Fri, 31 Mar 2017 10:09:55 +0300 Subject: [PATCH] Windows compatibility. --- src/Plugins/SimpleMode/IO/vtkSimpleMode.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Plugins/SimpleMode/IO/vtkSimpleMode.cxx b/src/Plugins/SimpleMode/IO/vtkSimpleMode.cxx index 404180ed..0affd5c1 100644 --- a/src/Plugins/SimpleMode/IO/vtkSimpleMode.cxx +++ b/src/Plugins/SimpleMode/IO/vtkSimpleMode.cxx @@ -57,6 +57,11 @@ #include "vtkMultiBlockDataGroupFilter.h" #include "vtkCompositeDataToUnstructuredGridFilter.h" +#ifdef WIN32 +#define _USE_MATH_DEFINES +#include +#endif + #include #include #include -- 2.39.2