Use <type_traits> unconditionally

Don't use or even mention tr1/type_traits any more.
This commit is contained in:
Vadim Zeitlin 2022-10-11 00:13:15 +02:00
parent 583a426a37
commit a0ae0cd316
10 changed files with 1 additions and 84 deletions

View file

@ -579,10 +579,6 @@ endif()
check_cxx_symbol_exists(round math.h HAVE_ROUND)
# Check includes
if(NOT MSVC_VERSION LESS 1600)
check_include_file_cxx(tr1/type_traits HAVE_TR1_TYPE_TRAITS)
check_include_file_cxx(type_traits HAVE_TYPE_TRAITS)
endif()
check_include_file(fcntl.h HAVE_FCNTL_H)
check_include_file(langinfo.h HAVE_LANGINFO_H)
check_include_file(sched.h HAVE_SCHED_H)

View file

@ -778,16 +778,6 @@
*/
#cmakedefine HAVE_TR1_UNORDERED_SET 1
/*
* Define if your compiler has <tr1/type_traits>
*/
#cmakedefine HAVE_TR1_TYPE_TRAITS 1
/*
* Define if your compiler has <type_traits>
*/
#cmakedefine HAVE_TYPE_TRAITS 1
/*
* Define if the compiler supports simple visibility declarations.
*/