From: Peter Howkins Date: Mon, 12 Mar 2012 16:05:21 +0000 (+0000) Subject: CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead X-Git-Tag: 2.2.0a~26^2~84 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=53f42b5113b8acfc949a27006b3de66f03bb2c38;p=oweals%2Fcde.git CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead --- 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