Commit 553b864e authored by Sebastian Eibl's avatar Sebastian Eibl

Merge branch 'has_include' into 'master'

Don't use __has_include macro if it's not defined

See merge request !203
parents 07c8fdbb 3a49c98e
Pipeline #15168 passed with stages
in 166 minutes and 59 seconds
......@@ -30,9 +30,16 @@
#include <cmath>
#include <limits>
#if (defined( __has_include ) && __has_include(<cxxabi.h>)) || defined( __GLIBCXX__ )
#ifdef __GLIBCXX__
#define HAVE_CXXABI_H
#include <cxxabi.h>
#else
#ifdef __has_include
#if __has_include(<cxxabi.h>)
#define HAVE_CXXABI_H
#include <cxxabi.h>
#endif
#endif
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment