X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftime%2Ftime.c;fp=ccan%2Ftime%2Ftime.c;h=d0542f5654e86f06e69bc40c530ce0c989643e92;hb=58c5a3524737ec1f6500dd766f717e2f158fc5c0;hp=8e7fbffe739da0ba6cebed78b8c7624023269e1b;hpb=3d3e9b9cbf0bf43c3ce2670175d936677e29f621;p=ccan diff --git a/ccan/time/time.c b/ccan/time/time.c index 8e7fbffe..d0542f56 100644 --- a/ccan/time/time.c +++ b/ccan/time/time.c @@ -3,7 +3,7 @@ #include #include -#if !HAVE_CLOCK_GETTIME && !HAVE_CLOCK_GETTIME_IN_LIBRT +#if !HAVE_CLOCK_GETTIME #include struct timeabs time_now(void) @@ -23,7 +23,7 @@ struct timeabs time_now(void) clock_gettime(CLOCK_REALTIME, &ret.ts); return TIMEABS_CHECK(ret); } -#endif /* HAVE_CLOCK_GETTIME || HAVE_CLOCK_GETTIME_IN_LIBRT */ +#endif /* HAVE_CLOCK_GETTIME */ struct timemono time_mono(void) {