OpenJDK / amber / amber
changeset 46452:0388e4c03d6f
8180036: Guard include of fpu_control.h
Reviewed-by: dholmes
author | mikael |
---|---|
date | Thu, 11 May 2017 09:42:19 -0700 |
parents | a4a8613c08e9 |
children | c078e70808cd |
files | hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp Thu May 11 08:40:32 2017 -0700 +++ b/hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp Thu May 11 09:42:19 2017 -0700 @@ -73,7 +73,9 @@ # include <pwd.h> # include <poll.h> # include <ucontext.h> +#ifndef AMD64 # include <fpu_control.h> +#endif #ifdef AMD64 #define REG_SP REG_RSP