diff --git a/libstdc++-v3/testsuite/17_intro/names.cc b/libstdc++-v3/testsuite/17_intro/names.cc index 3cbe0d2da54..b0cc21d6cda 100644 --- a/libstdc++-v3/testsuite/17_intro/names.cc +++ b/libstdc++-v3/testsuite/17_intro/names.cc @@ -287,4 +287,14 @@ #endif // __VXWORKS__ +#ifdef _WIN32 +#undef Value +// defines _CRT_FLOAT::f +#undef f +// defines _CRT_DOUBLE::x and _LONGDOUBLE::x +#undef x +// defines _complex::x and _complex::y +#undef y +#endif + #include