summaryrefslogtreecommitdiff
path: root/gnulib/import/fpucw.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/fpucw.h')
-rw-r--r--gnulib/import/fpucw.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnulib/import/fpucw.h b/gnulib/import/fpucw.h
index 1c6edf6b764..f6ed550ddcc 100644
--- a/gnulib/import/fpucw.h
+++ b/gnulib/import/fpucw.h
@@ -1,5 +1,5 @@
/* Manipulating the FPU control word. -*- coding: utf-8 -*-
- Copyright (C) 2007-2020 Free Software Foundation, Inc.
+ Copyright (C) 2007-2021 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2007.
This program is free software: you can redistribute it and/or modify
@@ -61,8 +61,8 @@
'long double' safe operation precision
*/
-/* Inline assembler like this works only with GNU C. */
-#if (defined __i386__ || defined __x86_64__) && defined __GNUC__
+/* Inline assembler like this works only with GNU C and clang. */
+#if (defined __i386__ || defined __x86_64__) && (defined __GNUC__ || defined __clang__)
typedef unsigned short fpucw_t; /* glibc calls this fpu_control_t */