[skip ci] [Mesh] add comment for boost

This commit is contained in:
Uwe
2022-12-20 02:56:10 +01:00
parent 435c384460
commit 6be2f122cd
2 changed files with 9 additions and 8 deletions

View File

@@ -31,6 +31,8 @@
# include <TopoDS_Face.hxx>
#endif
// boost is purposely not in the precompiled headers, see
// https://github.com/FreeCAD/FreeCAD/pull/7979#issuecomment-1358123252
#include <boost/python.hpp>
#include <boost/python/call.hpp>
#include <boost/python/class.hpp>

View File

@@ -3,17 +3,16 @@
#include <boost/version.hpp>
#if BOOST_VERSION >= 107800
// Workaround for boost >= 1.78
#ifdef WIN32
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#if BOOST_VERSION >= 107800
# ifdef WIN32
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <Windows.h>
# endif
#endif
#endif
#include <boost/regex.hpp>
#endif // #ifndef FREECAD_REGEX_HPP_WORKAROUND