summaryrefslogtreecommitdiffstats
path: root/omusrmsg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon>2008-04-09 08:11:22 +0200
committerRainer Gerhards <rgerhards@adiscon>2008-04-09 08:11:22 +0200
commita61f8543ff89a9eef1bef1686fff1035f5f79249 (patch)
tree90e0ebe8077ea234c1ed9e4e2bdc807ec14120ca /omusrmsg.c
parent9b5fa059d026777ca9d95b66b17d95296fd6c1ff (diff)
downloadrsyslog-a61f8543ff89a9eef1bef1686fff1035f5f79249.tar.gz
rsyslog-a61f8543ff89a9eef1bef1686fff1035f5f79249.tar.xz
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/omusrmsg.c b/omusrmsg.c
index c4008140..42d3291d 100644
--- a/omusrmsg.c
+++ b/omusrmsg.c
@@ -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