After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697549 - clock: Make use of HAVE_CLOCK_GETTIME
clock: Make use of HAVE_CLOCK_GETTIME
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Windows
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2013-04-08 11:58 UTC by LRN
Modified: 2013-04-09 18:36 UTC
See Also:
GNOME target: ---
GNOME version: ---

Do use HAVE_CLOCK_GETTIME (1.67 KB, patch)
2013-04-08 11:59 UTC, LRN
committed Details | Review

Description LRN 2013-04-08 11:58:08 UTC
Right now configure will check for clock_gettime, but will not use HAVE_CLOCK_GETTIME preprocessor macro for anything.
Comment 1 LRN 2013-04-08 11:59:43 UTC
Created attachment 240940 [details] [review]

This prevents clock_gettime()-using code from compiling when clock_gettime() is not available, but other conditions are met (posix timers, monotonic clock).
Comment 2 Sebastian Dröge (slomo) 2013-04-09 18:36:12 UTC
commit e745a2bcf07eb7ecafcb92428b4d2907ff22b124
Author: Руслан Ижбулатов <>
Date:   Mon Apr 8 15:30:07 2013 +0400

    clock: Do use HAVE_CLOCK_GETTIME
    Fixes #697549