+2008-04-12 Bruno Haible <bruno@clisp.org>
+
+ * lib/fpucw.h: Enable the definitions also for x86_64.
+ Needed for NetBSD/x86_64.
+ Reported by Thomas Klausner <tk@giga.or.at>.
+
2008-04-12 Bruno Haible <bruno@clisp.org>
* tests/test-strtod.c: Include isnand.h.
/* Manipulating the FPU control word.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007-2008 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2007.
This program is free software: you can redistribute it and/or modify
*/
/* Inline assembler like this works only with GNU C. */
-#if defined __i386__ && defined __GNUC__
+#if (defined __i386__ || defined __x86_64__) && defined __GNUC__
typedef unsigned short fpucw_t; /* glibc calls this fpu_control_t */