CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead
This commit is contained in:
@@ -63,6 +63,11 @@
|
|||||||
#include "abmfP.h"
|
#include "abmfP.h"
|
||||||
#include "abmf.h"
|
#include "abmf.h"
|
||||||
|
|
||||||
|
/* glibc considers CLK_TCK obsolete */
|
||||||
|
#if defined(linux)
|
||||||
|
#define CLK_TCK CLOCKS_PER_SEC
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user