diff options
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; |