aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/math-type-macros-ldouble.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/math-type-macros-ldouble.h')
-rw-r--r--sysdeps/generic/math-type-macros-ldouble.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/math-type-macros-ldouble.h b/sysdeps/generic/math-type-macros-ldouble.h
index 4e02e53f70..7dbd559249 100644
--- a/sysdeps/generic/math-type-macros-ldouble.h
+++ b/sysdeps/generic/math-type-macros-ldouble.h
@@ -30,7 +30,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