This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ffi = require 'ffi' | |
local bit = require 'bit' | |
local clock_gettime | |
if ffi.os == 'Windows' then | |
local UNIX_TIME_START = 0x019DB1DED53E8000LL | |
local TICKS_PER_SECOND = 10000000LL | |
ffi.cdef [[ |