8180036: Guard include of fpu_control.h
authormikael
Thu, 11 May 2017 09:42:19 -0700
changeset 46452 0388e4c03d6f
parent 46451 a4a8613c08e9
child 46453 c078e70808cd
8180036: Guard include of fpu_control.h Reviewed-by: dholmes
hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
--- 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