[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua standard library - thread-unsafety
- From: Daurnimator <quae@...>
- Date: Thu, 28 Jun 2012 04:37:33 +1000
On 28 June 2012 03:31, Arseny Vakhrushev <firstname.lastname@example.org> wrote:
> The best way would be to use localtime_r() instead of localtime(). The manual states it is sufficient to check for _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE || _POSIX_SOURCE.
lua 5.2 does.