From 56378651c74e8815a091b13665a1f5dc809d816b Mon Sep 17 00:00:00 2001 From: Aaron Tomb Date: Wed, 6 Nov 2013 16:35:02 -0800 Subject: Fix parenthesization of Abc_Clock #ifdef. The previous location of parentheses led to an attempt to compile against Linux-only clock APIs when building on 32-bit OS X. --- src/misc/util/abc_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/misc/util/abc_global.h b/src/misc/util/abc_global.h index 144177da..b2b6ec91 100644 --- a/src/misc/util/abc_global.h +++ b/src/misc/util/abc_global.h @@ -274,7 +274,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__)) && !defined(__MINGW32__) +#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