From 53f42b5113b8acfc949a27006b3de66f03bb2c38 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 16:05:21 +0000 Subject: [PATCH] CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead --- cde/programs/dtappbuilder/src/abmf/abmf.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cde/programs/dtappbuilder/src/abmf/abmf.c b/cde/programs/dtappbuilder/src/abmf/abmf.c index 0cbcde9c..2cf4877f 100644 --- a/cde/programs/dtappbuilder/src/abmf/abmf.c +++ b/cde/programs/dtappbuilder/src/abmf/abmf.c @@ -63,6 +63,11 @@ #include "abmfP.h" #include "abmf.h" +/* glibc considers CLK_TCK obsolete */ +#if defined(linux) +#define CLK_TCK CLOCKS_PER_SEC +#endif + #ifdef __cplusplus extern "C" { #endif -- 2.25.1