summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--liboil/liboilcpu-x86.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/liboil/liboilcpu-x86.c b/liboil/liboilcpu-x86.c
index ae7261f..e7a1978 100644
--- a/liboil/liboilcpu-x86.c
+++ b/liboil/liboilcpu-x86.c
@@ -328,10 +328,8 @@ oil_cpu_detect_kernel_support (void)
* unmasked SSE FPU exception bug. Other than that, if /proc/cpuinfo
* reported SSE, then it's safe.
*/
-#elif defined(__sun)
- /* Solaris is OK */
-#elif defined(__NetBSD__)
- /* NetBSD is OK */
+#elif defined(__sun) || defined(__NetBSD__) || defined(__OpenBSD__)
+ /* Solaris/NetBSD/OpenBSD are OK */
#else
OIL_WARNING("Operating system is not known to support SSE. "