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
fd2c9b1c
Commit
fd2c9b1c
authored
Apr 30, 2020
by
whitequark
Committed by
Eddie Hung
May 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ABC_NO_RLIMIT macro, use defined(__wasm) instead.
parent
2db5f19a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/base/main/mainReal.c
+2
-2
No files found.
src/base/main/mainReal.c
View file @
fd2c9b1c
...
@@ -132,7 +132,7 @@ int Abc_RealMain( int argc, char * argv[] )
...
@@ -132,7 +132,7 @@ int Abc_RealMain( int argc, char * argv[] )
break
;
break
;
case
'm'
:
{
case
'm'
:
{
#if !defined(WIN32) && !defined(
ABC_NO_RLIMIT
)
#if !defined(WIN32) && !defined(
__wasm
)
int
maxMb
=
atoi
(
globalUtilOptarg
);
int
maxMb
=
atoi
(
globalUtilOptarg
);
printf
(
"Limiting memory use to %d MB
\n
"
,
maxMb
);
printf
(
"Limiting memory use to %d MB
\n
"
,
maxMb
);
struct
rlimit
limit
=
{
struct
rlimit
limit
=
{
...
@@ -144,7 +144,7 @@ int Abc_RealMain( int argc, char * argv[] )
...
@@ -144,7 +144,7 @@ int Abc_RealMain( int argc, char * argv[] )
break
;
break
;
}
}
case
'l'
:
{
case
'l'
:
{
#if !defined(WIN32) && !defined(
ABC_NO_RLIMIT
)
#if !defined(WIN32) && !defined(
__wasm
)
rlim_t
maxTime
=
atoi
(
globalUtilOptarg
);
rlim_t
maxTime
=
atoi
(
globalUtilOptarg
);
printf
(
"Limiting time to %d seconds
\n
"
,
(
int
)
maxTime
);
printf
(
"Limiting time to %d seconds
\n
"
,
(
int
)
maxTime
);
struct
rlimit
limit
=
{
struct
rlimit
limit
=
{
...
...
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