From dc649f4e88c474cb1199729d5a84e4aa35f538f1 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 24 Aug 2017 12:02:17 -0400 Subject: [PATCH] Remove the now unused check for sys/time.h. The std::chrono library provides this functionality for us now. --- cmake/checks/check_02_system_features.cmake | 3 --- .../changes/incompatibilities/20170819DavidWellsMatthiasMaier | 3 ++- include/deal.II/base/config.h.in | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/cmake/checks/check_02_system_features.cmake b/cmake/checks/check_02_system_features.cmake index fc7433a2d3..acfa52c0ba 100644 --- a/cmake/checks/check_02_system_features.cmake +++ b/cmake/checks/check_02_system_features.cmake @@ -20,7 +20,6 @@ # DEAL_II_HAVE_GETPID # DEAL_II_HAVE_JN # DEAL_II_HAVE_SYS_RESOURCE_H -# DEAL_II_HAVE_SYS_TIME_H # DEAL_II_HAVE_UNISTD_H # DEAL_II_MSVC # @@ -37,8 +36,6 @@ # CHECK_INCLUDE_FILE_CXX("sys/resource.h" DEAL_II_HAVE_SYS_RESOURCE_H) -CHECK_INCLUDE_FILE_CXX("sys/time.h" DEAL_II_HAVE_SYS_TIME_H) - CHECK_INCLUDE_FILE_CXX("unistd.h" DEAL_II_HAVE_UNISTD_H) CHECK_CXX_SYMBOL_EXISTS("gethostname" "unistd.h" DEAL_II_HAVE_GETHOSTNAME) CHECK_CXX_SYMBOL_EXISTS("getpid" "unistd.h" DEAL_II_HAVE_GETPID) diff --git a/doc/news/changes/incompatibilities/20170819DavidWellsMatthiasMaier b/doc/news/changes/incompatibilities/20170819DavidWellsMatthiasMaier index 89807fcf63..6316763538 100644 --- a/doc/news/changes/incompatibilities/20170819DavidWellsMatthiasMaier +++ b/doc/news/changes/incompatibilities/20170819DavidWellsMatthiasMaier @@ -13,6 +13,7 @@ are no longer defined:
  • DEAL_II_HAVE_SYS_TIMES_H
  • DEAL_II_HAVE_TIMES
  • DEAL_II_HAVE_SYS_TYPES_H +
  • DEAL_II_HAVE_SYS_TIMES_H -
    (Matthias Maier and David Wells, 2017/08/08 - 2017/08/19) +
    (Matthias Maier and David Wells, 2017/08/08 - 2017/08/24) diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index f00f25dffa..d23156eaa3 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -123,7 +123,6 @@ */ #cmakedefine DEAL_II_HAVE_SYS_RESOURCE_H -#cmakedefine DEAL_II_HAVE_SYS_TIME_H #cmakedefine DEAL_II_HAVE_UNISTD_H #cmakedefine DEAL_II_HAVE_GETHOSTNAME #cmakedefine DEAL_II_HAVE_GETPID -- 2.39.5