summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod/GetTimeOfDayTest.cpp
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-08-20 17:03:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-08-20 17:03:29 (GMT)
commit1b2b0bd5a30cbc4227457abd08f563a8fd8c8b68 (patch)
treef3e820daa24477263f5fc3efd43bf459865f260b /config/cmake_ext_mod/GetTimeOfDayTest.cpp
parent1436a07905193713568304dd00b26ca18e982e6f (diff)
downloadhdf5-1b2b0bd5a30cbc4227457abd08f563a8fd8c8b68.zip
hdf5-1b2b0bd5a30cbc4227457abd08f563a8fd8c8b68.tar.gz
hdf5-1b2b0bd5a30cbc4227457abd08f563a8fd8c8b68.tar.bz2
[svn-r27540] Replace svn:externals with hard copy of files
Diffstat (limited to 'config/cmake_ext_mod/GetTimeOfDayTest.cpp')
-rw-r--r--config/cmake_ext_mod/GetTimeOfDayTest.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/cmake_ext_mod/GetTimeOfDayTest.cpp b/config/cmake_ext_mod/GetTimeOfDayTest.cpp
new file mode 100644
index 0000000..3b5bf60
--- /dev/null
+++ b/config/cmake_ext_mod/GetTimeOfDayTest.cpp
@@ -0,0 +1,15 @@
+#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;
+}