about summary refs log tree commit diff
path: root/sysdeps/generic/math-type-macros-double.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/math-type-macros-double.h')
-rw-r--r--sysdeps/generic/math-type-macros-double.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/math-type-macros-double.h b/sysdeps/generic/math-type-macros-double.h
index 6116f7f32f..a755699190 100644
--- a/sysdeps/generic/math-type-macros-double.h
+++ b/sysdeps/generic/math-type-macros-double.h
@@ -47,7 +47,9 @@
 /* Supply the generic macros.  */
 #include <math-type-macros.h>
 
-/* Do not use the type-generic wrapper templates.  */
-#define __USE_WRAPPER_TEMPLATE 0
+/* Do not use the type-generic wrapper templates if compatibility with
+   SVID error handling is needed.  */
+#include <math-svid-compat.h>
+#define __USE_WRAPPER_TEMPLATE !LIBM_SVID_COMPAT
 
 #endif