From 97709fca23a52fa9f506d81d015fa6bff35cea22 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Sat, 10 Feb 2024 09:46:53 +0100 Subject: [PATCH] windows include in python_occ_shapes --- libsrc/occ/python_occ_shapes.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index 9c50261c..e1266119 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -1,6 +1,23 @@ #ifdef NG_PYTHON #ifdef OCCGEOMETRY +// for testing: copied from mystdlib.h +#ifdef _MSC_VER +# define WIN32_LEAN_AND_MEAN +# ifndef NO_PARALLEL_THREADS +# ifdef MSVC_EXPRESS +# else +# include +# include +# endif // MSVC_EXPRESS +# endif +# include +# undef WIN32_LEAN_AND_MEAN +# include +#else // Not using MC VC++ +#endif + + #include #include