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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/generic/s_nextafter.c b/sysdeps/generic/s_nextafter.c
index 996b5ceca3..8ddcbe5413 100644
--- a/sysdeps/generic/s_nextafter.c
+++ b/sysdeps/generic/s_nextafter.c
@@ -85,6 +85,8 @@ weak_alias (__nextafter, nextafter)
 #ifdef NO_LONG_DOUBLE
 strong_alias (__nextafter, __nextafterl)
 weak_alias (__nextafter, nextafterl)
+#undef __nexttoward
 strong_alias (__nextafter, __nexttoward)
+#undef nexttoward
 weak_alias (__nextafter, nexttoward)
 #endif