diff options
author | Rainer Gerhards <rgerhards@adiscon> | 2008-04-09 08:11:22 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon> | 2008-04-09 08:11:22 +0200 |
commit | a61f8543ff89a9eef1bef1686fff1035f5f79249 (patch) | |
tree | 90e0ebe8077ea234c1ed9e4e2bdc807ec14120ca /omusrmsg.c | |
parent | 9b5fa059d026777ca9d95b66b17d95296fd6c1ff (diff) | |
download | rsyslog-a61f8543ff89a9eef1bef1686fff1035f5f79249.tar.gz rsyslog-a61f8543ff89a9eef1bef1686fff1035f5f79249.tar.bz2 rsyslog-a61f8543ff89a9eef1bef1686fff1035f5f79249.zip |
our BSD define conflicted with a BSD system define
renamed to OS_BSD
Diffstat (limited to 'omusrmsg.c')
-rw-r--r-- | omusrmsg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -119,7 +119,7 @@ static void endtty() * BSD because they are not available there. We only emulate what we actually * need! rgerhards 2005-03-18 */ -#ifdef BSD +#ifdef OS_BSD static FILE *BSD_uf = NULL; void setutent(void) { @@ -145,7 +145,7 @@ void endutent(void) fclose(BSD_uf); BSD_uf = NULL; } -#endif +#endif /* #ifdef OS_BSD */ /* @@ -209,7 +209,7 @@ static rsRetVal wallmsg(uchar* pMsg, instanceData *pData) /* is this slot used? */ if (ut.ut_name[0] == '\0') continue; -#ifndef BSD +#ifndef OS_BSD if (ut.ut_type != USER_PROCESS) continue; #endif |