]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove the now unused check for sys/time.h. 4952/head
authorDavid Wells <wellsd2@rpi.edu>
Thu, 24 Aug 2017 16:02:17 +0000 (12:02 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 24 Aug 2017 16:45:28 +0000 (12:45 -0400)
The std::chrono library provides this functionality for us now.

cmake/checks/check_02_system_features.cmake
doc/news/changes/incompatibilities/20170819DavidWellsMatthiasMaier
include/deal.II/base/config.h.in

index fc7433a2d3d0a015165bff82666051d1766a3930..acfa52c0ba8cfd2cf4903c93a813ea5312b400aa 100644 (file)
@@ -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)
index 89807fcf6346574d18836ab643ab0bcfaf0e3741..631676353861566f5327d4d27403402aeeeed770 100644 (file)
@@ -13,6 +13,7 @@ are no longer defined:
   <li> <code>DEAL_II_HAVE_SYS_TIMES_H</code>
   <li> <code>DEAL_II_HAVE_TIMES</code>
   <li> <code>DEAL_II_HAVE_SYS_TYPES_H</code>
+  <li> <code>DEAL_II_HAVE_SYS_TIMES_H</code>
 </ul>
 
-<br> (Matthias Maier and David Wells, 2017/08/08 - 2017/08/19)
+<br> (Matthias Maier and David Wells, 2017/08/08 - 2017/08/24)
index f00f25dffa39c487f674179d9077235522fe92ac..d23156eaa374b52f8d3f6184763526af56dfe216 100644 (file)
  */
 
 #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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.