diff --git a/flang/runtime/exceptions.cpp b/flang/runtime/exceptions.cpp index 257c71b51edb3..344e7216cfaae 100644 --- a/flang/runtime/exceptions.cpp +++ b/flang/runtime/exceptions.cpp @@ -11,7 +11,7 @@ #include "flang/Runtime/exceptions.h" #include "terminator.h" #include -#if defined(__aarch64__) && !defined(_WIN32) +#if defined(__aarch64__) && defined(__GLIBC__) #include #elif defined(__x86_64__) && !defined(_WIN32) #include