3ee479223d
from maintainer Jon Olsson
21 lines
1.2 KiB
Plaintext
21 lines
1.2 KiB
Plaintext
$OpenBSD: patch-erts_configure_in,v 1.2 2007/03/29 17:18:57 steven Exp $
|
|
--- erts/configure.in.orig Tue Mar 27 15:28:23 2007
|
|
+++ erts/configure.in Thu Mar 29 17:56:01 2007
|
|
@@ -1923,14 +1923,14 @@ static __inline__ int check_fpe(double f)
|
|
|
|
#endif
|
|
|
|
-#if (defined(__linux__) && (defined(__i386__) || defined(__x86_64__) || defined(__sparc__) || defined(__powerpc__))) || (defined(__DARWIN__) && (defined(__i386__) || defined(__ppc__))) || (defined(__FreeBSD__) && (defined(__i386__) || defined(__x86_64__))) || (defined(__sun__) && defined(__x86_64__))
|
|
+#if (defined(__linux__) && (defined(__i386__) || defined(__x86_64__) || defined(__sparc__) || defined(__powerpc__))) || (defined(__DARWIN__) && (defined(__i386__) || defined(__ppc__))) || ((defined(__OpenBSD__) || defined(__FreeBSD__)) && (defined(__i386__) || defined(__x86_64__))) || (defined(__sun__) && defined(__x86_64__))
|
|
|
|
#if defined(__linux__) && defined(__i386__)
|
|
#include <asm/sigcontext.h>
|
|
#elif defined(__FreeBSD__) && defined(__i386__)
|
|
#include <sys/types.h>
|
|
#include <machine/npx.h>
|
|
-#elif defined(__FreeBSD__) && defined(__x86_64__)
|
|
+#elif (defined(__OpenBSD__) || defined(__FreeBSD__)) && defined(__x86_64__)
|
|
#include <sys/types.h>
|
|
#include <machine/fpu.h>
|
|
#endif
|