| 1 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
| 2 |
* Copyright by The HDF Group. * |
| 3 |
* All rights reserved. * |
| 4 |
* * |
| 5 |
* This file is part of HDF5. The full HDF5 copyright notice, including * |
| 6 |
* terms governing use, modification, and redistribution, is contained in * |
| 7 |
* the COPYING file, which can be found at the root of the source code * |
| 8 |
* distribution tree, or in https://www.hdfgroup.org/licenses. * |
| 9 |
* If you do not have access to either file, you may request a copy from * |
| 10 |
* [email protected]. * |
| 11 |
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
| 12 |
#if defined (TRY_SYS_TIME_H) |
| 13 |
#include <sys/time.h> |
| 14 |
/* #include <time.h> */ |
| 15 |
#endif |
| 16 |
|
| 17 |
|
| 18 |
#if defined (TRY_TIME_H) |
| 19 |
#include <time.h> |
| 20 |
#endif |
| 21 |
|
| 22 |
int main(int argc, char **argv) { |
| 23 |
struct timeval t1; |
| 24 |
gettimeofday(&t1, 0x00); |
| 25 |
return 0; |
| 26 |
} |