Fix Windows build: skip gettimeofday on MSYS2, force recompile ecc_platform_specific
This commit is contained in:
1 parent
df092af751
commit
f67a138714
4 files changed
+2
-1
No files matched your search
@@ -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) {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user