mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
windows include in python_occ
This commit is contained in:
parent
97709fca23
commit
beed254a7d
@ -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 <afxwin.h>
|
||||
# include <afxmt.h>
|
||||
# endif // MSVC_EXPRESS
|
||||
# endif
|
||||
# include <windows.h>
|
||||
# undef WIN32_LEAN_AND_MEAN
|
||||
# include <winnt.h>
|
||||
#else // Not using MC VC++
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <general/ngpython.hpp>
|
||||
|
@ -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 <afxwin.h>
|
||||
# include <afxmt.h>
|
||||
# endif // MSVC_EXPRESS
|
||||
# endif
|
||||
# include <windows.h>
|
||||
# undef WIN32_LEAN_AND_MEAN
|
||||
# include <winnt.h>
|
||||
#else // Not using MC VC++
|
||||
#endif
|
||||
|
||||
#include <general/ngpython.hpp>
|
||||
#include <core/python_ngcore.hpp>
|
||||
#include <meshing/python_mesh.hpp>
|
||||
|
Loading…
Reference in New Issue
Block a user