summaryrefslogtreecommitdiffstats
path: root/config/cmake/GetTimeOfDayTest.cpp
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-08-19 14:54:42 (GMT)
committerGitHub <noreply@github.com>2022-08-19 14:54:42 (GMT)
commit7f6261a677cb341812914e414cf9d1f6de63a1a3 (patch)
treeeb8ddcb1cc8e7ba2177fa40ea66f9ca297f4cf8b /config/cmake/GetTimeOfDayTest.cpp
parentde46019a86edeed02e62fbdf545b603de3318483 (diff)
downloadhdf5-7f6261a677cb341812914e414cf9d1f6de63a1a3.zip
hdf5-7f6261a677cb341812914e414cf9d1f6de63a1a3.tar.gz
hdf5-7f6261a677cb341812914e414cf9d1f6de63a1a3.tar.bz2
Removes cmake_ext_mod (files moved to cmake) (#2041)
At one time this content was a git submodule shared between several projects but that time has long passed.
Diffstat (limited to 'config/cmake/GetTimeOfDayTest.cpp')
-rw-r--r--config/cmake/GetTimeOfDayTest.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/config/cmake/GetTimeOfDayTest.cpp b/config/cmake/GetTimeOfDayTest.cpp
new file mode 100644
index 0000000..b35efa5
--- /dev/null
+++ b/config/cmake/GetTimeOfDayTest.cpp
@@ -0,0 +1,26 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the COPYING file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+#if defined (TRY_SYS_TIME_H)
+#include <sys/time.h>
+/* #include <time.h> */
+#endif
+
+
+#if defined (TRY_TIME_H)
+#include <time.h>
+#endif
+
+int main(int argc, char **argv) {
+ struct timeval t1;
+ gettimeofday(&t1, 0x00);
+ return 0;
+}