Fix Windows build: skip gettimeofday on MSYS2, force recompile ecc_platform_specific

This commit is contained in:
Evgeny committed 2026-02-15 12:26:32 +03:00
1 parent df092af751
commit f67a138714
4 files changed
+2 -1

No files matched your search

+2 -1
View File
@@ -40,7 +40,8 @@
#endif
// gettimeofday for Windows (timezone already defined in time.h)
#ifndef HAVE_GETTIMEOFDAY
// Note: MSYS2 already has gettimeofday in sys/time.h, so we skip it here
#if !defined(HAVE_GETTIMEOFDAY) && !defined(__MINGW32__)
static inline int gettimeofday(struct timeval *tv, void *tz) {
(void)tz;
if (tv) {
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.