Remove some mingw support cruft.
This was needed for Android, but “the new version of mingw has moved all of time_s.h into time.h” [1]. [1] https://android-review.googlesource.com/#/c/196597/ Change-Id: I17e66ed93606f3e6a774af3290c15b5ca151449f Reviewed-on: https://boringssl-review.googlesource.com/6971 Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
parent
7cae9f5b6c
commit
75a64c08fc
@ -59,12 +59,6 @@
|
||||
#define _POSIX_C_SOURCE 201410L /* for gmtime_r */
|
||||
#endif
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#define MINGW_HAS_SECURE_API 1 /* supplied by libmingwex */
|
||||
#include <sec_api/time_s.h> /* for correct definition of gmtime_s */
|
||||
#undef MINGW_HAS_SECURE_API
|
||||
#endif
|
||||
|
||||
#include <openssl/time_support.h>
|
||||
|
||||
#include <time.h>
|
||||
|
Loading…
Reference in New Issue
Block a user