Skip to content
Snippets Groups Projects
Commit 3a49c98e authored by Michael Kuron's avatar Michael Kuron :mortar_board: Committed by Sebastian Eibl
Browse files

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

parent 07c8fdbb
Branches
No related merge requests found
...@@ -30,9 +30,16 @@ ...@@ -30,9 +30,16 @@
#include <cmath> #include <cmath>
#include <limits> #include <limits>
#if (defined( __has_include ) && __has_include(<cxxabi.h>)) || defined( __GLIBCXX__ ) #ifdef __GLIBCXX__
#define HAVE_CXXABI_H #define HAVE_CXXABI_H
#include <cxxabi.h> #include <cxxabi.h>
#else
#ifdef __has_include
#if __has_include(<cxxabi.h>)
#define HAVE_CXXABI_H
#include <cxxabi.h>
#endif
#endif
#endif #endif
......
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