]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/generic/math-type-macros-double.h
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / sysdeps / generic / math-type-macros-double.h
index e978f9090c818aaaa1d5adec0843d2cfb814da4a..cb0e9fe5abdcdfff025543cfdf992f7d7f32f57f 100644 (file)
@@ -1,5 +1,5 @@
 /* Helper macros for double variants of type generic functions of libm.
-   Copyright (C) 2016-2017 Free Software Foundation, Inc.
+   Copyright (C) 2016-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #ifndef _MATH_TYPE_MACROS_DOUBLE
 #define _MATH_TYPE_MACROS_DOUBLE
 #define M_STRTO_NAN __strtod_nan
 
 #include <libm-alias-double.h>
+#include <math-nan-payload-double.h>
 
 #ifndef declare_mgen_alias
 # define declare_mgen_alias(from, to) libm_alias_double (from, to)
 #endif
 
+#ifndef declare_mgen_alias_r
+# define declare_mgen_alias_r(from, to) libm_alias_double_r (from, to, _r)
+#endif
+
 /* Supply the generic macros.  */
 #include <math-type-macros.h>
 
 /* Do not use the type-generic wrapper templates if compatibility with
    SVID error handling is needed.  */
-#include <math-svid-compat.h>
+#include <math/math-svid-compat.h>
 #define __USE_WRAPPER_TEMPLATE !LIBM_SVID_COMPAT
 
 #endif