Commit Graph

5 Commits

Author SHA1 Message Date
Andreas Fabri 9d36d33e46 Define and use CGAL_NO_ATOMIC 2016-09-22 15:41:53 +02:00
Laurent Rineau fa54f719e6 Oops! Fix the Boost atomic header 2016-01-19 10:34:55 +01:00
Laurent Rineau 98a4949e96 Better version of <CGAL/atomic.h>
The implementation is simplified.

If no implementation of `::atomic` is available, `CGAL_NO_ATOMIC` is
defined to an error message (replaced the `#error`).
2016-01-18 15:51:34 +01:00
Laurent Rineau e1adbbfb7a Add #error Boost.Atomic was introduced in Boost-1.53 2016-01-15 18:59:34 +01:00
Laurent Rineau 68c6941cbb Add <CGAL/atomic.h> and CGAL_CAN_USE_CXX11_ATOMIC
- Change the way the macros `CGAL_CAN_USE_CXX11_THREAD_LOCAL` and
  `CGAL_CAN_USE_CXX11_MUTEX` are defined, so that other compilers are
  also supported.

- Add the macro `CGAL_CAN_USE_CXX11_ATOMIC` and the header
  `<CGAL/atomic.h>`.
2016-01-15 18:26:44 +01:00