[flang] Fix building on aarch64 *BSD and musl libc after 9d8dc45d17088300e9e2086594ca581b119193c8 (#125183)
The fpu_control.h header appears to be GLIBC specific. (cherry picked from commit e31c6c97b795e57a7b1ee31ad37eced40c6305ed)
This commit is contained in:
parent
d5333f265b
commit
c560d6f2c7
@ -11,7 +11,7 @@
|
||||
#include "flang/Runtime/exceptions.h"
|
||||
#include "terminator.h"
|
||||
#include <cfenv>
|
||||
#if defined(__aarch64__) && !defined(_WIN32)
|
||||
#if defined(__aarch64__) && defined(__GLIBC__)
|
||||
#include <fpu_control.h>
|
||||
#elif defined(__x86_64__) && !defined(_WIN32)
|
||||
#include <xmmintrin.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user