about summary refs log tree commit diff
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/math-type-macros-ldouble.h b/sysdeps/generic/math-type-macros-ldouble.h
index 750bae718a..234e33ed9a 100644
--- a/sysdeps/generic/math-type-macros-ldouble.h
+++ b/sysdeps/generic/math-type-macros-ldouble.h
@@ -33,6 +33,10 @@
 # define declare_mgen_alias(from, to) libm_alias_ldouble (from, to)
 #endif
 
+#ifndef declare_mgen_alias_r
+# define declare_mgen_alias_r(from, to) libm_alias_ldouble_r (from, to, _r)
+#endif
+
 /* Supply the generic macros.  */
 #include <math-type-macros.h>