about summary refs log tree commit diff
path: root/sysdeps/generic/s_nextafter.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/s_nextafter.c')
-rw-r--r--sysdeps/generic/s_nextafter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/s_nextafter.c b/sysdeps/generic/s_nextafter.c
index 8b81e563d9..996b5ceca3 100644
--- a/sysdeps/generic/s_nextafter.c
+++ b/sysdeps/generic/s_nextafter.c
@@ -21,6 +21,10 @@ static char rcsid[] = "$NetBSD: s_nextafter.c,v 1.8 1995/05/10 20:47:58 jtc Exp
  *   Special cases:
  */
 
+/* Ugly hack so that the aliasing works.  */
+#define __nexttoward __internal___nexttoward
+#define nexttoward __internal_nexttoward
+
 #include "math.h"
 #include "math_private.h"