about summary refs log tree commit diff
path: root/stdio-common/tst-sprintf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-sprintf2.c')
-rw-r--r--stdio-common/tst-sprintf2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdio-common/tst-sprintf2.c b/stdio-common/tst-sprintf2.c
index debb68e21f..422278dd6a 100644
--- a/stdio-common/tst-sprintf2.c
+++ b/stdio-common/tst-sprintf2.c
@@ -6,8 +6,10 @@
 int
 main (void)
 {
+#if LDBL_MANT_DIG >= 106
   volatile union { long double l; long long x[2]; } u, v;
   char buf[64];
+#endif
   int result = 0;
 
 #if LDBL_MANT_DIG == 106 || LDBL_MANT_DIG == 113