diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:24:11 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:24:11 +0800 |
commit | 66b044d59ae04d0a3fea2ec12b44076a47da4add (patch) | |
tree | 777c7f2fe83ac4b29e12c33942fdb77482548101 /util | |
parent | 20dcffd255f3db8f1ef70ab61b87aba3b2b859b9 (diff) | |
download | pttbbs-66b044d59ae04d0a3fea2ec12b44076a47da4add.tar pttbbs-66b044d59ae04d0a3fea2ec12b44076a47da4add.tar.gz pttbbs-66b044d59ae04d0a3fea2ec12b44076a47da4add.tar.bz2 pttbbs-66b044d59ae04d0a3fea2ec12b44076a47da4add.tar.lz pttbbs-66b044d59ae04d0a3fea2ec12b44076a47da4add.tar.xz pttbbs-66b044d59ae04d0a3fea2ec12b44076a47da4add.tar.zst pttbbs-66b044d59ae04d0a3fea2ec12b44076a47da4add.zip |
makefile clean up
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2593 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/bbsrf.c | 2 | ||||
-rw-r--r-- | util/diskstat.c | 4 | ||||
-rw-r--r-- | util/outmail.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/util/bbsrf.c b/util/bbsrf.c index ce1440e7..27ed9e3a 100644 --- a/util/bbsrf.c +++ b/util/bbsrf.c @@ -21,7 +21,7 @@ #define U_FILE UTMP_FILE #endif -#ifdef FreeBSD +#ifdef __FreeBSD__ #define UTMP_FILE _PATH_UTMP #endif diff --git a/util/diskstat.c b/util/diskstat.c index 1b785120..bc80ece1 100644 --- a/util/diskstat.c +++ b/util/diskstat.c @@ -1,4 +1,4 @@ -#ifndef FreeBSD +#ifndef __FreeBSD__ #include <stdio.h> int main(int argc, char **argv) { @@ -785,4 +785,4 @@ cpustats(void) printf("%3.0f", 100. * cur.cp_time[state] / (time ? time : 1)); } -#endif // FreeBSD +#endif // __FreeBSD__ diff --git a/util/outmail.c b/util/outmail.c index 53e6e44d..7f036c4f 100644 --- a/util/outmail.c +++ b/util/outmail.c @@ -65,7 +65,7 @@ int connectMailServer(char *servername, int serverport) } memset(&addr, 0, sizeof(addr)); -#ifdef FreeBSD +#ifdef __FreeBSD__ addr.sin_len = sizeof(addr); #endif addr.sin_family = AF_INET; |