Make gmtime() configurable at compile-time
This commit is contained in:
parent
d7177435e3
commit
1abb368b87
6 changed files with 117 additions and 33 deletions
|
@ -32,9 +32,9 @@
|
|||
#if !defined(_WIN32) && (defined(__unix__) || \
|
||||
(defined(__APPLE__) && defined(__MACH__)))
|
||||
#include <unistd.h>
|
||||
#if !defined(_POSIX_VERSION)
|
||||
#if !defined(_POSIX_VERSION) || 200112L > _POSIX_THREAD_SAFE_FUNCTIONS
|
||||
#define THREADING_USE_GMTIME
|
||||
#endif /* !_POSIX_VERSION */
|
||||
#endif /* !_POSIX_VERSION || 200112L > _POSIX_THREAD_SAFE_FUNCTIONS */
|
||||
#endif /* !_WIN32 && (__unix__ || (__APPLE__ && __MACH__)) */
|
||||
|
||||
#if defined(MBEDTLS_THREADING_PTHREAD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue