Commit e4c0c154 authored by Lev Walkin's avatar Lev Walkin

portability

parent eb1b9ba8
......@@ -10,7 +10,7 @@
#endif /* __NO_ASSERT_H__ */
#ifdef WIN32
#define localtime_r(tlocp, tmp) (*tmp = localtime(&tlocp))
#define localtime_r(tlocp, tmp) (*tmp = localtime(tlocp))
#warning PLEASE STOP AND READ!
#warning localtime_r is implemented via localtime(), which is not thread-safe. You must fix the code to insert appropriate locking if you want to use asn_GT2time() or asn_UT2time().
#warning PLEASE STOP AND READ!
......
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