diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-09 05:18:23 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-11-09 05:18:23 +0800 |
commit | a452530f13fb16ab02b2fb7c0da22e0d16e6b8da (patch) | |
tree | 3c43855ed3e4acee43d1fee96d92d72dfc5a9961 | |
parent | 6df96b0d023d5e9acc05ac68d9ef4aef90e0296e (diff) | |
download | pttbbs-a452530f13fb16ab02b2fb7c0da22e0d16e6b8da.tar pttbbs-a452530f13fb16ab02b2fb7c0da22e0d16e6b8da.tar.gz pttbbs-a452530f13fb16ab02b2fb7c0da22e0d16e6b8da.tar.bz2 pttbbs-a452530f13fb16ab02b2fb7c0da22e0d16e6b8da.tar.lz pttbbs-a452530f13fb16ab02b2fb7c0da22e0d16e6b8da.tar.xz pttbbs-a452530f13fb16ab02b2fb7c0da22e0d16e6b8da.tar.zst pttbbs-a452530f13fb16ab02b2fb7c0da22e0d16e6b8da.zip |
Linux compatible
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@568 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/util/bbsctl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pttbbs/util/bbsctl.c b/pttbbs/util/bbsctl.c index 9618f5de..998cd98c 100644 --- a/pttbbs/util/bbsctl.c +++ b/pttbbs/util/bbsctl.c @@ -183,6 +183,7 @@ int bbstest(int argc, char **argv) int Xipcrm(int argc, char **argv) { +#ifdef FreeBSD char buf[256], cmd[256]; FILE *fp; sprintf(buf, IPCS " | " AWK " '{print $1 $2}'"); @@ -200,6 +201,10 @@ int Xipcrm(int argc, char **argv) pclose(fp); system(IPCS); return 0; +#else + puts("not implement!"); + return 1; +#endif } int permreport(int argc, char **argv) |