Bug 15402

Summary: Check for monotonic clock is wrong
Product: xorg Reporter: Hasso Tepper <hasso>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: BSD (Others)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Fix for monotonic clock test none

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.