mirror of https://github.com/CGAL/cgal
Fix the issue with the preprocessor
This commit is contained in:
parent
ed034a53be
commit
ae1e1439cf
|
|
@ -203,6 +203,11 @@ namespace parameters {
|
|||
|
||||
// Various Mesh_3 option
|
||||
struct Mesh_3_options {
|
||||
#ifndef CGAL_NO_ATOMIC
|
||||
typedef CGAL::cpp11::atomic<bool>* Pointer_to_stop_atomic_boolean_t;
|
||||
#else
|
||||
typedef bool* Pointer_to_stop_atomic_boolean_t;
|
||||
#endif
|
||||
Mesh_3_options()
|
||||
: dump_after_init_prefix()
|
||||
, dump_after_refine_surface_prefix()
|
||||
|
|
@ -230,7 +235,7 @@ namespace parameters {
|
|||
std::size_t maximal_number_of_vertices;
|
||||
Mesh_error_code* pointer_to_error_code;
|
||||
#ifndef CGAL_NO_ATOMIC
|
||||
CGAL::cpp11::atomic<bool>* pointer_to_stop_atomic_boolean;
|
||||
Pointer_to_stop_atomic_boolean_t pointer_to_stop_atomic_boolean;
|
||||
#endif
|
||||
}; // end struct Mesh_3_options
|
||||
|
||||
|
|
@ -375,9 +380,7 @@ CGAL_IGNORE_BOOST_PARAMETER_NAME_WARNINGS
|
|||
(number_of_initial_points_, (int), -1)
|
||||
(maximal_number_of_vertices_, (std::size_t), 0)
|
||||
(pointer_to_error_code_, (Mesh_error_code*), ((Mesh_error_code*)0))
|
||||
#ifndef CGAL_NO_ATOMIC
|
||||
(pointer_to_stop_atomic_boolean_, (CGAL::cpp11::atomic<bool>*), ((CGAL::cpp11::atomic<bool>*)0))
|
||||
#endif
|
||||
(pointer_to_stop_atomic_boolean_, (internal::Mesh_3_options::Pointer_to_stop_atomic_boolean_t), ((internal::Mesh_3_options::Pointer_to_stop_atomic_boolean_t)0))
|
||||
)
|
||||
)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue