metaballs icon indicating copy to clipboard operation
metaballs copied to clipboard

doesn't compile on Windows when PROF is defined

Open Ciremun opened this issue 4 years ago • 1 comments

C:\Users\user\Desktop\metaballs\prof.c(37): warning C4013: 'clock_gettime' undefined; assuming extern returning int
C:\Users\user\Desktop\metaballs\prof.c(37): error C2065: 'CLOCK_MONOTONIC': undeclared identifier

Ciremun avatar Aug 16 '21 13:08 Ciremun

@Ciremun yeah, the profiler is not portable rn. On windows we have to use something like QueryPerformanceCounter I think (not really an expert).

rexim avatar Aug 16 '21 16:08 rexim