Work-around C++0x tuple bug with GCC4.4

This commit is contained in:
Simon Giraudot 2016-02-04 18:24:18 +01:00
parent 9fceea22cc
commit c20bbba168
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@
#if defined( _LIBCPP_VERSION ) // check if libc++ is used
#define CGAL_CFG_NO_CPP0X_TUPLE
#endif
#if defined(__GNUC__) && defined(__GNUC_MINOR__) && (__GNUC__ <= 4) && (__GNUC_MINOR__ <= 4)
#define CGAL_CFG_NO_CPP0X_TUPLE
#define CGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES
#endif
#endif
#ifndef CGAL_CFG_NO_CPP0X_TUPLE