Files
packages/lang
Karl Palsson 1ac343bd80 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>
2018-01-25 15:11:46 +00:00
..
2017-08-29 21:41:14 -07:00
2017-08-29 21:41:14 -07:00
2017-08-29 21:41:14 -07:00
2017-08-29 21:41:14 -07:00
2017-08-29 21:41:14 -07:00
2017-08-29 21:41:14 -07:00
2017-08-29 21:41:14 -07:00
2017-08-29 21:41:14 -07:00
2017-02-16 13:21:13 +00:00
2017-08-29 21:41:14 -07:00
2017-12-14 18:59:10 +01:00
2017-12-03 16:26:23 -07:00
2017-11-22 12:57:08 +01:00
2018-01-04 20:43:57 +01:00
2018-01-05 22:09:47 -02:00
2017-08-29 21:41:14 -07:00
2017-08-29 21:41:14 -07:00
2017-10-18 21:58:38 +02:00