diff --git a/math/Makefile b/math/Makefile
index b1739ab416..e17bc50df3 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -643,7 +643,7 @@ include $(o-iterator)
# We don't want the fdlibm code to use the inline math functions,
# only the fdlibm code.
-math-CPPFLAGS += -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES
+math-CPPFLAGS += -D__NO_MATH_INLINES
ifneq ($(long-double-fcts),yes)
# The `double' and `long double' types are the same on this machine.
diff --git a/math/test-math-inline.h b/math/test-math-inline.h
index 755be44f35..c522236e3e 100644
--- a/math/test-math-inline.h
+++ b/math/test-math-inline.h
@@ -20,7 +20,6 @@
#define TEST_ERRNO 0
#define TEST_EXCEPTIONS 0
-#undef __LIBC_INTERNAL_MATH_INLINES
#ifdef __NO_MATH_INLINES
# undef __NO_MATH_INLINES
#endif
diff --git a/math/test-signgam-main.c b/math/test-signgam-main.c
index b36e942c9b..19ca2bc7af 100644
--- a/math/test-signgam-main.c
+++ b/math/test-signgam-main.c
@@ -17,7 +17,6 @@
. */
#undef _LIBC
-#undef __LIBC_INTERNAL_MATH_INLINES
#undef _GNU_SOURCE
#include