diff options
author | Aaron Tomb <atomb@galois.com> | 2013-11-06 16:35:02 -0800 |
---|---|---|
committer | Aaron Tomb <atomb@galois.com> | 2013-11-06 16:35:02 -0800 |
commit | 56378651c74e8815a091b13665a1f5dc809d816b (patch) | |
tree | 43dc508c80119d7db75e1d6c5b6132ac77aed390 | |
parent | f29fe2d0c226b33505e544e4560f9357cfed66f0 (diff) | |
download | abc-56378651c74e8815a091b13665a1f5dc809d816b.tar.gz abc-56378651c74e8815a091b13665a1f5dc809d816b.tar.bz2 abc-56378651c74e8815a091b13665a1f5dc809d816b.zip |
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.
-rw-r--r-- | src/misc/util/abc_global.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |