]> git.ipfire.org Git - thirdparty/krb5.git/commit
Try harder not to use clock_gettime in verto-k5ev
authorGreg Hudson <ghudson@mit.edu>
Mon, 3 Sep 2012 23:20:34 +0000 (19:20 -0400)
committerTom Yu <tlyu@mit.edu>
Tue, 11 Sep 2012 21:58:27 +0000 (17:58 -0400)
commitd65edd12642e67b1cf03bf681903157bdc31de9a
tree3c9b577380119d90c3d0f9e6382ff705a6e1b284
parent4e51366fc61b54ca84b3f48cd2abc0ba62852a7b
Try harder not to use clock_gettime in verto-k5ev

We already define EV_USE_REALTIME to 0 to avoid the use of
clock_gettime() (to avoid depending on librt).  But in some build
environments libev can detect support for a monotonic clock, which
also results in using clock_gettime().  Define EV_USE_MONOTONIC to 0
as well to prevent this.

(cherry picked from commit fe285ec16b65ac6177a404baa635c1d09054dc81)

ticket: 7350
version_fixed: 1.10.4
status: resolved
src/util/k5ev/verto-k5ev.c