1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead

This commit is contained in:
Peter Howkins 2012-03-12 16:05:21 +00:00
parent 5949e1c410
commit 53f42b5113

View file

@ -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