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
c95d9499
Commit
c95d9499
authored
Jul 15, 2022
by
Miodrag Milanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Remove ABC_NO_RLIMIT macro, use defined(__wasm) instead."
This reverts commit
fd2c9b1c
.
parent
8f5c823f
Hide 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 @
c95d9499
...
@@ -134,7 +134,7 @@ int Abc_RealMain( int argc, char * argv[] )
...
@@ -134,7 +134,7 @@ int Abc_RealMain( int argc, char * argv[] )
break
;
break
;
case
'm'
:
{
case
'm'
:
{
#if !defined(WIN32) && !defined(
__wasm
)
#if !defined(WIN32) && !defined(
ABC_NO_RLIMIT
)
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
=
{
...
@@ -146,7 +146,7 @@ int Abc_RealMain( int argc, char * argv[] )
...
@@ -146,7 +146,7 @@ int Abc_RealMain( int argc, char * argv[] )
break
;
break
;
}
}
case
'l'
:
{
case
'l'
:
{
#if !defined(WIN32) && !defined(
__wasm
)
#if !defined(WIN32) && !defined(
ABC_NO_RLIMIT
)
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