summaryrefslogtreecommitdiffstats
path: root/mbbsd/gamble.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-14 01:46:14 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-14 01:46:14 +0800
commit0de660756306b48a3e61d2012dc04c1ec2b2fa5d (patch)
tree45219aa7af9080c3a63f1f5bec7f710cf1198669 /mbbsd/gamble.c
parent7663047cdb35ddb7df1f0ca95aa56509fab94ca2 (diff)
downloadpttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar
pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.gz
pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.bz2
pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.lz
pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.xz
pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.tar.zst
pttbbs-0de660756306b48a3e61d2012dc04c1ec2b2fa5d.zip
* CPULIMIT macro is deprecated
* new CPULIMIT_PER_DAY macro: cpu limit control by day git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4600 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/gamble.c')
-rw-r--r--mbbsd/gamble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c
index 0b17a9c6..93388e1f 100644
--- a/mbbsd/gamble.c
+++ b/mbbsd/gamble.c
@@ -298,7 +298,7 @@ openticket(int bid)
close(0);
close(1);
setproctitle("open ticket");
-#ifdef CPULIMIT
+#ifdef CPULIMIT_PER_DAY
{
struct rlimit rml;
rml.rlim_cur = RLIM_INFINITY;