CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead
This commit is contained in:
parent
5949e1c410
commit
53f42b5113
|
|
@ -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…
Reference in New Issue