summaryrefslogtreecommitdiffstats
path: root/config/cmake/GetTimeOfDayTest.cpp
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-07-20 15:25:40 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-07-20 15:25:40 (GMT)
commitc6a498f081d2d4b47a19149ab55dc701d037d02e (patch)
treecc68f672ef55028fab4fe9509d0d895a2c9539f5 /config/cmake/GetTimeOfDayTest.cpp
parent7976c8c0ecaa98f7a280ac256cba8f5b0e1f1b72 (diff)
downloadhdf5-c6a498f081d2d4b47a19149ab55dc701d037d02e.zip
hdf5-c6a498f081d2d4b47a19149ab55dc701d037d02e.tar.gz
hdf5-c6a498f081d2d4b47a19149ab55dc701d037d02e.tar.bz2
[svn-r19106] Move Resources folder to config/cmake
Tested: Local Linux
Diffstat (limited to 'config/cmake/GetTimeOfDayTest.cpp')
-rw-r--r--config/cmake/GetTimeOfDayTest.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/cmake/GetTimeOfDayTest.cpp b/config/cmake/GetTimeOfDayTest.cpp
new file mode 100644
index 0000000..3b5bf60
--- /dev/null
+++ b/config/cmake/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;
+}