diff options
author | Karl Palsson <karlp@etactica.com> | 2018-01-25 15:11:46 +0000 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2018-01-25 15:11:46 +0000 |
commit | 1ac343bd8074aa5df1cfd93c2d031ca079e841a7 (patch) | |
tree | d35d6620104d10fb3d46efa910c42d5113f53384 /lang/dkjson | |
parent | dbdfc999d5609a24a5826641c34880baa97dbf0c (diff) |
luaposix: musl compatibility with XOPEN_REALTIME
musl-libc doesn't define _XOPEN_REALTIME as it doesn't implement the
full set of the realtime operations. However, it _does_ implement
POSIX_TIMERS, which is what luaposix _should_ be checking for in the
posix.time module.
I've filed https://github.com/luaposix/luaposix/issues/295 to track this
upstream, but this is a simpler, verified fix for our older version of
luaposix.
This restores functions like posix.time.clock_gettime(CLOCK_MONOTONIC)
for instance, which was available with pre-musl builds of luaposix.
Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'lang/dkjson')
0 files changed, 0 insertions, 0 deletions