File size: 407 Bytes
985c397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: LGPL-2.1-or-later

#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