diff options
| author | 2020-01-09 14:18:29 +0000 | |
|---|---|---|
| committer | 2020-01-09 14:18:29 +0000 | |
| commit | 41167cd8bc04424f91ae678f20274da3fc9edb62 (patch) | |
| tree | 7f29915d631f25ced9618cfc6b7529b23ce53f6e /usr.sbin/bind/lib/isc/unix/file.c | |
| parent | unifdef gss-api: (diff) | |
| download | wireguard-openbsd-41167cd8bc04424f91ae678f20274da3fc9edb62.tar.xz wireguard-openbsd-41167cd8bc04424f91ae678f20274da3fc9edb62.zip | |
Assorted unifdefs:
#define ISC_PLATFORM_NEEDSYSSELECTH 1
#define ISC_PLATFORM_HAVESTATNSEC 1
#define ISC_PLATFORM_RLIMITTYPE rlim_t
#define ISC_PLATFORM_HAVELONGLONG 1
#undef ISC_PLATFORM_BRACEPTHREADONCEINIT
#undef ISC_PLATFORM_USEDECLSPEC
#define ISC_PLATFORM_HAVESYSUNH 1
#define ISC_PLATFORM_HAVESTRINGSH 1
#define ISC_PLATFORM_WANTAES 1
#define ISC_PLATFORM_USESIT 1
#define LIBISC_EXTERNAL_DATA
#define LIBDNS_EXTERNAL_DATA
#define LIBISCCFG_EXTERNAL_DATA
#define LIBBIND9_EXTERNAL_DATA
#define LIBTESTS_EXTERNAL_DATA
prodding deraadt@
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/file.c')
| -rw-r--r-- | usr.sbin/bind/lib/isc/unix/file.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/file.c b/usr.sbin/bind/lib/isc/unix/file.c index d43e4f7aaae..ad1e4b72a08 100644 --- a/usr.sbin/bind/lib/isc/unix/file.c +++ b/usr.sbin/bind/lib/isc/unix/file.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. */ -/* $Id: file.c,v 1.7 2019/12/17 01:46:37 sthen Exp $ */ +/* $Id: file.c,v 1.8 2020/01/09 14:18:30 florian Exp $ */ /*! \file */ @@ -148,11 +148,7 @@ isc_file_getmodtime(const char *file, isc_time_t *modtime) { result = file_stats(file, &stats); if (result == ISC_R_SUCCESS) -#ifdef ISC_PLATFORM_HAVESTATNSEC isc_time_set(modtime, stats.st_mtime, stats.st_mtim.tv_nsec); -#else - isc_time_set(modtime, stats.st_mtime, 0); -#endif return (result); } |
