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:
parent
5949e1c410
commit
53f42b5113
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue