Commit 7623d8c3 authored by Lev Walkin's avatar Lev Walkin

try to fetch timegm from the environment

parent 4ecc3378
......@@ -4,9 +4,9 @@
*/
#define _POSIX_PTHREAD_SEMANTICS /* for Sun */
#define _REENTRANT /* for Sun */
#define _BSD_SOURCE /* for timegm(3) */
#include <asn_internal.h>
#include <GeneralizedTime.h>
#include <errno.h>
#ifdef __CYGWIN__
#include "/usr/include/time.h"
......@@ -14,6 +14,9 @@
#include <time.h>
#endif /* __CYGWIN__ */
#include <stdio.h>
#include <errno.h>
#if defined(_WIN32)
#pragma message( "PLEASE STOP AND READ!")
#pragma message( " localtime_r is implemented via localtime(), which may be not thread-safe.")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment