diff --git a/Installation/include/CGAL/config.h b/Installation/include/CGAL/config.h index 089c7a73e7b..36d5c79fe46 100644 --- a/Installation/include/CGAL/config.h +++ b/Installation/include/CGAL/config.h @@ -591,13 +591,13 @@ using std::max; #endif #ifndef CGAL_HAS_THREADS -inline bool is_currently_single_threaded(){ return true; } + namespace CGAL { inline bool is_currently_single_threaded(){ return true; } } #elif __has_include() -#include -inline bool is_currently_single_threaded(){ return ::__libc_single_threaded; } +# include + namespace CGAL { inline bool is_currently_single_threaded(){ return ::__libc_single_threaded; } } #else -/* This is the conservative default */ -inline bool is_currently_single_threaded(){ return false; } + /* This is the conservative default */ + namespace CGAL { inline bool is_currently_single_threaded(){ return false; } } #endif // Support for LEDA with threads