Commit 3a49c98e authored by Michael Kuron's avatar Michael Kuron 🔬 Committed by Sebastian Eibl

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

parent 07c8fdbb
......@@ -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