diff --git a/libsrc/occ/python_occ.cpp b/libsrc/occ/python_occ.cpp index 48089571..b2370a79 100644 --- a/libsrc/occ/python_occ.cpp +++ b/libsrc/occ/python_occ.cpp @@ -1,6 +1,25 @@ #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 diff --git a/libsrc/occ/python_occ_basic.cpp b/libsrc/occ/python_occ_basic.cpp index d84e78d1..48a9b723 100644 --- a/libsrc/occ/python_occ_basic.cpp +++ b/libsrc/occ/python_occ_basic.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 #include