mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-07 11:10:40 +00:00
Mark git__timer as inline on OSX
This commit is contained in:
parent
c655aa5209
commit
816d28e7bc
@ -379,7 +379,7 @@ GIT_INLINE(double) git__timer(void)
|
|||||||
|
|
||||||
#include <mach/mach_time.h>
|
#include <mach/mach_time.h>
|
||||||
|
|
||||||
double git__timer(void)
|
GIT_INLINE(double) git__timer(void)
|
||||||
{
|
{
|
||||||
uint64_t time = mach_absolute_time();
|
uint64_t time = mach_absolute_time();
|
||||||
static double scaling_factor = 0;
|
static double scaling_factor = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user