tsoding/metaballs

doesn't compile on Windows when PROF is defined

Opened this issue · 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
rexim commented

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