mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 09:18:55 +00:00
Merge pull request #356 from ggtakec/master
Fixed codes about clock_gettime for osx(2)
This commit is contained in:
commit
cd04cb0875
@ -46,8 +46,11 @@ using namespace std;
|
||||
//-------------------------------------------------------------------
|
||||
// Utility
|
||||
//-------------------------------------------------------------------
|
||||
#if defined(CLOCK_MONOTONIC_COARSE)
|
||||
#define CLOCK_MONOTONIC_COARSE 6
|
||||
#ifndef CLOCK_MONOTONIC
|
||||
#define CLOCK_MONOTONIC CLOCK_REALTIME
|
||||
#endif
|
||||
#ifndef CLOCK_MONOTONIC_COARSE
|
||||
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_CLOCK_GETTIME
|
||||
|
Loading…
Reference in New Issue
Block a user