diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2013-08-15 00:58:23 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2013-08-15 00:58:23 -0700 |
commit | 7013e0b672a881a979ef05f504ba3b2fb3dfdaf4 (patch) | |
tree | e78e062f863447e8492872dd82b81b1bae6e007c /src/misc | |
parent | 9c2b00755629ec8406043133a26fd43e7e96424d (diff) | |
download | abc-7013e0b672a881a979ef05f504ba3b2fb3dfdaf4.tar.gz abc-7013e0b672a881a979ef05f504ba3b2fb3dfdaf4.tar.bz2 abc-7013e0b672a881a979ef05f504ba3b2fb3dfdaf4.zip |
Small changes to compile on Mac.
Diffstat (limited to 'src/misc')
-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 8952d1e2..efd790f6 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) +#if defined(LIN) || defined(LIN64) && !(__APPLE__ & __MACH__) struct timespec ts; if ( clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts) < 0 ) return (abctime)-1; |