mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-16 01:07:11 +00:00
Fixed codes about clock_gettime for osx(2)
This commit is contained in:
parent
1c9d7a9ea9
commit
0755c6f60c
@ -46,8 +46,11 @@ using namespace std;
|
|||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
// Utility
|
// Utility
|
||||||
//-------------------------------------------------------------------
|
//-------------------------------------------------------------------
|
||||||
#if defined(CLOCK_MONOTONIC_COARSE)
|
#ifndef CLOCK_MONOTONIC
|
||||||
#define CLOCK_MONOTONIC_COARSE 6
|
#define CLOCK_MONOTONIC CLOCK_REALTIME
|
||||||
|
#endif
|
||||||
|
#ifndef CLOCK_MONOTONIC_COARSE
|
||||||
|
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_CLOCK_GETTIME
|
#ifndef HAVE_CLOCK_GETTIME
|
||||||
|
Loading…
Reference in New Issue
Block a user