Files
create/src/boost_regex.hpp
Adrián Insaurralde Avalos 0c8cc49344 Fix boost 1.78 workaround
2023-07-20 10:51:30 -04:00

20 lines
360 B
C++

#ifndef FREECAD_REGEX_HPP_WORKAROUND
#define FREECAD_REGEX_HPP_WORKAROUND
#include <boost/version.hpp>
// Workaround for boost >= 1.78
#if BOOST_VERSION >= 107800
# ifdef WIN32
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <Windows.h>
# undef BASETYPES
# endif
#endif
#include <boost/regex.hpp>
#endif // #ifndef FREECAD_REGEX_HPP_WORKAROUND