From b48017f818e13f8c7ddb555f8fe5fa895521af7a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 14 Jan 2011 17:26:59 +0000 Subject: another try to fix systems without CLOCK_MONOTONIC Fix a reversed typedef and also deal with the case where CLOCK_MONOTONIC is a function call and not a constant macro. --- ext/clogger_ext/broken_system_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/clogger_ext/broken_system_compat.h') diff --git a/ext/clogger_ext/broken_system_compat.h b/ext/clogger_ext/broken_system_compat.h index ec635b1..632612b 100644 --- a/ext/clogger_ext/broken_system_compat.h +++ b/ext/clogger_ext/broken_system_compat.h @@ -4,7 +4,7 @@ */ #ifndef HAVE_TYPE_CLOCKID_T -typedef clockid_t int; +typedef int clockid_t; #endif #ifndef HAVE_CLOCK_GETTIME -- cgit v1.2.3-24-ge0c7