diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-02 10:15:29 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-02 10:15:29 +0000 |
commit | 4fd65aec913a1b99e8d748a7a82c150b8f7ee510 (patch) | |
tree | d34ac61e9cca0729320c0854c87a3163efd52836 /src/libstddjb/djbtime-internal.h | |
parent | 131a18f68dc73f208bb76a944fc6d42c86cfad3b (diff) | |
download | skalibs-4fd65aec913a1b99e8d748a7a82c150b8f7ee510.tar.xz |
Remove the --enable-right-tz configure option.
Make it a run-time autodetection instead.
Update doc.
Thanks to Paul Jarc for the suggestion.
Diffstat (limited to 'src/libstddjb/djbtime-internal.h')
-rw-r--r-- | src/libstddjb/djbtime-internal.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstddjb/djbtime-internal.h b/src/libstddjb/djbtime-internal.h index 26ffc81..819b88a 100644 --- a/src/libstddjb/djbtime-internal.h +++ b/src/libstddjb/djbtime-internal.h @@ -6,7 +6,7 @@ #include <skalibs/uint64.h> -/* Leap second handling, for UTC <--> TAI conversions */ + /* Leap second handling, for UTC <--> TAI conversions */ #define LEAPSECS_MAX 39 #define LEAPSECS_FILE SKALIBS_ETC "/leapsecs.dat" @@ -20,4 +20,8 @@ extern int leapsecs_sub_r (uint64 *, char const *, uint64 *) ; #define leapsecs_sub(t) leapsecs_sub_r((t), LEAPSECS_FILE, leapsecs_here) + /* Run-time test: does the current timezone handle leap seconds ? */ + +extern int skalibs_tzisright (void) ; + #endif |