Prefer _WIN to _POSIX for defines.

Also miscellaneous fixes here and there.
This commit is contained in:
Rosen Penev
2017-02-23 15:55:06 -08:00
parent de186ceda5
commit 4ceb7a1afa
17 changed files with 82 additions and 101 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ inline double hc_timer_get (hc_timer_t a)
return (double) ((double) (hr_tmp.QuadPart - a.QuadPart) / (double) (hr_freq.QuadPart / 1000));
}
#elif defined(_POSIX)
#else
inline void hc_timer_set (hc_timer_t* a)
{