libstdc++: Fix use of internal feature test macro in test

This test should use __cpp_lib_ios_noreplace rather than the internal
__glibcxx_ios_noreplace macro.

libstdc++-v3/ChangeLog:

	* testsuite/27_io/ios_base/types/openmode/case_label.cc: Use
	standard feature test macro not internal one.
This commit is contained in:
Jonathan Wakely 2025-01-15 23:37:14 +00:00 committed by Jonathan Wakely
parent f079feecab
commit 79d5504002
No known key found for this signature in database

View file

@ -44,7 +44,7 @@ case_labels(bitmask_type b)
break;
case std::ios_base::trunc:
break;
#ifdef __glibcxx_ios_noreplace
#ifdef __cpp_lib_ios_noreplace
case std::ios_base::noreplace:
break;
#endif