$NetBSD: patch-ac,v 1.3 2002/08/25 19:21:45 jlam Exp $ --- flow/cpuinfo.cc.orig Mon Mar 18 12:39:39 2002 +++ flow/cpuinfo.cc @@ -204,6 +204,7 @@ : /* no input */ : "memory" ); +#if defined(__NetBSD__) && __NetBSD_Version__ >= 105260000 // SSE must be supported by the OS, if it's not, any SSE insn will // trigger an invalid opcode exception, to check for this, a SIGILL // handler is installed and a SSE insn run. If the handler is called, @@ -226,6 +227,7 @@ } signal(SIGILL, oldHandler); } +#endif #endif /* HAVE_X86_SSE */ }