mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-23 09:18:55 +00:00
Fixed clock_gettime build failure on macOS 10.12 Sierra - #600
This commit is contained in:
parent
a08880ae15
commit
0c6a3882a2
@ -59,7 +59,7 @@ using namespace std;
|
|||||||
#ifdef HAVE_CLOCK_GETTIME
|
#ifdef HAVE_CLOCK_GETTIME
|
||||||
static int s3fs_clock_gettime(int clk_id, struct timespec* ts)
|
static int s3fs_clock_gettime(int clk_id, struct timespec* ts)
|
||||||
{
|
{
|
||||||
return clock_gettime(clk_id, ts);
|
return clock_gettime(static_cast<clockid_t>(clk_id), ts);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static int s3fs_clock_gettime(int clk_id, struct timespec* ts)
|
static int s3fs_clock_gettime(int clk_id, struct timespec* ts)
|
||||||
|
Loading…
Reference in New Issue
Block a user