diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2022-07-15 12:46:01 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2022-07-15 12:46:01 +0200 |
commit | c95d9499d9401b572a21f7c631a9ee7c7d4800c5 (patch) | |
tree | a04733ad523364ea1be4135dd0655b7759d9086f /src | |
parent | 8f5c823fa40fa39755f5ca8c5209f8f1ffd1c364 (diff) | |
download | abc-c95d9499d9401b572a21f7c631a9ee7c7d4800c5.tar.gz abc-c95d9499d9401b572a21f7c631a9ee7c7d4800c5.tar.bz2 abc-c95d9499d9401b572a21f7c631a9ee7c7d4800c5.zip |
Revert "Remove ABC_NO_RLIMIT macro, use defined(__wasm) instead."
This reverts commit fd2c9b1c19216f6b756f88b18f5ca67b759ca128.
Diffstat (limited to 'src')
-rw-r--r-- | src/base/main/mainReal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/main/mainReal.c b/src/base/main/mainReal.c index a13be5e5..420f2cf1 100644 --- a/src/base/main/mainReal.c +++ b/src/base/main/mainReal.c @@ -134,7 +134,7 @@ int Abc_RealMain( int argc, char * argv[] ) break; case 'm': { -#if !defined(WIN32) && !defined(__wasm) +#if !defined(WIN32) && !defined(ABC_NO_RLIMIT) int maxMb = atoi(globalUtilOptarg); printf("Limiting memory use to %d MB\n", maxMb); struct rlimit limit = { @@ -146,7 +146,7 @@ int Abc_RealMain( int argc, char * argv[] ) break; } case 'l': { -#if !defined(WIN32) && !defined(__wasm) +#if !defined(WIN32) && !defined(ABC_NO_RLIMIT) rlim_t maxTime = atoi(globalUtilOptarg); printf("Limiting time to %d seconds\n", (int)maxTime); struct rlimit limit = { |