Software / code / prosody
File
util/time.lua @ 8284:22460456c3a3
configure: Remove unused OS and architecture detection that would most likely fail on systems without gcc
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 28 Sep 2017 12:30:43 +0200 |
| parent | 7461:72e48bddf617 |
line wrap: on
line source
-- Import gettime() from LuaSocket, as a way to access high-resolution time -- in a platform-independent way local socket_gettime = require "socket".gettime; return { now = socket_gettime; }