Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
7013e0b6
Commit
7013e0b6
authored
Aug 15, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small changes to compile on Mac.
parent
9c2b0075
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Makefile
+5
-1
src/misc/util/abc_global.h
+1
-1
No files found.
Makefile
View file @
7013e0b6
...
...
@@ -63,7 +63,11 @@ endif
endif
LIBS
:=
-ldl
-lrt
# LIBS := -ldl -lrt
LIBS
:=
-ldl
ifneq
($(findstring
Darwin,
$(shell
uname)),
Darwin)
LIBS
+=
-lrt
endif
ifneq
($(READLINE),0)
CFLAGS
+=
-DABC_USE_READLINE
...
...
src/misc/util/abc_global.h
View file @
7013e0b6
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment