version 1.22, 2007/12/21 01:16:52 |
version 1.23, 2008/01/07 14:10:08 |
|
|
/* Define to 1 if your struct stat has an st_mtim member */ |
/* Define to 1 if your struct stat has an st_mtim member */ |
#undef HAVE_ST_MTIM |
#undef HAVE_ST_MTIM |
|
|
|
/* Define to 1 if your struct stat uses an st__tim union */ |
|
#undef HAVE_ST__TIM |
|
|
/* Define to 1 if your struct stat has an st_mtimespec member */ |
/* Define to 1 if your struct stat has an st_mtimespec member */ |
#undef HAVE_ST_MTIMESPEC |
#undef HAVE_ST_MTIMESPEC |
|
|
|
|
* so the last 3 digits of tv_nsec are not significant. |
* so the last 3 digits of tv_nsec are not significant. |
*/ |
*/ |
#ifdef HAVE_ST_MTIM |
#ifdef HAVE_ST_MTIM |
# define mtim_getsec(_x) ((_x).st_mtim.tv_sec) |
# ifdef HAVE_ST__TIM |
# define mtim_getnsec(_x) (((_x).st_mtim.tv_nsec / 1000) * 1000) |
# define mtim_getsec(_x) ((_x).st_mtim.st__tim.tv_sec) |
|
# define mtim_getnsec(_x) (((_x).st_mtim.st__tim.tv_nsec / 1000) * 1000) |
|
# else |
|
# define mtim_getsec(_x) ((_x).st_mtim.tv_sec) |
|
# define mtim_getnsec(_x) (((_x).st_mtim.tv_nsec / 1000) * 1000) |
|
# endif |
#else |
#else |
# ifdef HAVE_ST_MTIMESPEC |
# ifdef HAVE_ST_MTIMESPEC |
# define mtim_getsec(_x) ((_x).st_mtimespec.tv_sec) |
# define mtim_getsec(_x) ((_x).st_mtimespec.tv_sec) |