3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

Fixed MXE build

This commit is contained in:
Clifford Wolf 2014-10-15 02:43:50 +02:00
parent 8cea352a6a
commit 3445a933a5
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@
#include "libs/sha1/sha1.h"
#include "backends/ilang/ilang_backend.h"
#ifndef _WIN32
#if !defined(_WIN32) || defined(__MINGW32__)
# include <sys/time.h>
#endif
@ -51,7 +51,7 @@ static struct timeval initial_tv = { 0, 0 };
static bool next_print_log = false;
static int log_newline_count = 0;
#ifdef _WIN32
#if defined(_WIN32) && !defined(__MINGW32__)
// this will get time information and return it in timeval, simulating gettimeofday()
int gettimeofday(struct timeval *tv, struct timezone *tz)
{