From cf1746e3480a3260bd80a4fa9754369a4bb6bc6b Mon Sep 17 00:00:00 2001 From: Aaron Tomb Date: Mon, 4 Nov 2013 14:25:55 -0800 Subject: Make definition of Abc_Clock work with MINGW32. --- src/misc/util/abc_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc/util') diff --git a/src/misc/util/abc_global.h b/src/misc/util/abc_global.h index 950a8889..5a0a1f1d 100644 --- a/src/misc/util/abc_global.h +++ b/src/misc/util/abc_global.h @@ -272,7 +272,7 @@ static inline int Abc_Lit2LitL( int * pMap, int Lit ) { return Abc_LitNo typedef ABC_INT64_T abctime; static inline abctime Abc_Clock() { -#if defined(LIN) || defined(LIN64) && !(__APPLE__ & __MACH__) +#if (defined(LIN) || defined(LIN64) && !(__APPLE__ & __MACH__)) && !defined(__MINGW32__) struct timespec ts; if ( clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) < 0 ) return (abctime)-1; -- cgit v1.2.3