Bug 15402 - Check for monotonic clock is wrong
Summary: Check for monotonic clock is wrong
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) BSD (Others)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 02:28 UTC by Hasso Tepper
Modified: 2008-06-24 09:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix for monotonic clock test (346 bytes, patch)
2008-04-08 02:28 UTC, Hasso Tepper
no flags Details | Splinter Review

Description Hasso Tepper 2008-04-08 02:28:10 UTC
Created attachment 15755 [details] [review]
Fix for monotonic clock test

According to http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html CLOCK_MONOTONIC was added in 1003.1j-2000, so configure test fails to compile on conformant systems like FreeBSD and DragonFly BSD - the test uses #define _POSIX_C_SOURCE 199309L (1003.1b-1993).
Comment 1 Adam Jackson 2008-06-24 09:42:56 UTC
Fixed in master a while ago, cherry-picked to 1.5 branch.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.