summaryrefslogtreecommitdiffstats
path: root/src/misc/util/abc_global.h
diff options
context:
space:
mode:
authorAaron Tomb <atomb@galois.com>2013-11-06 16:35:02 -0800
committerAaron Tomb <atomb@galois.com>2013-11-06 16:35:02 -0800
commit56378651c74e8815a091b13665a1f5dc809d816b (patch)
tree43dc508c80119d7db75e1d6c5b6132ac77aed390 /src/misc/util/abc_global.h
parentf29fe2d0c226b33505e544e4560f9357cfed66f0 (diff)
downloadabc-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.
Diffstat (limited to 'src/misc/util/abc_global.h')
-rw-r--r--src/misc/util/abc_global.h2
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;