mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 10:06:54 +00:00
okay yeah i'm tired of that buildtime penalty
This commit is contained in:
parent
43ecbff656
commit
b870eac3f3
1 changed files with 3 additions and 3 deletions
|
@ -4,9 +4,9 @@ package server
|
||||||
// long get_ticks_per_second() {
|
// long get_ticks_per_second() {
|
||||||
// return sysconf(_SC_CLK_TCK);
|
// return sysconf(_SC_CLK_TCK);
|
||||||
// }
|
// }
|
||||||
import "C"
|
//import "C"
|
||||||
|
|
||||||
// note: this seems to add 0.1s to compile time on my machine
|
// note: this seems to add 0.1s to compile time on my machine
|
||||||
var ticksPerSecond = int(C.get_ticks_per_second())
|
//var ticksPerSecond = int(C.get_ticks_per_second())
|
||||||
|
|
||||||
//var ticksPerSecond = 100
|
var ticksPerSecond = 100
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue