mirror of https://github.com/CGAL/cgal
use boost::tuple if using clang and libc++
This commit is contained in:
parent
205eca6d61
commit
d4f875782c
|
|
@ -25,6 +25,15 @@
|
|||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
// workaround issue in the tuple implementation of libc++
|
||||
// by falling back onto boost's
|
||||
#ifndef CGAL_CFG_NO_CPP0X_TUPLE
|
||||
#include <cstddef>
|
||||
#if defined( _LIBCPP_VERSION ) // check if libc++ is used
|
||||
#define CGAL_CFG_NO_CPP0X_TUPLE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef CGAL_CFG_NO_CPP0X_TUPLE
|
||||
# include <tuple>
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in New Issue