Small modifications for FreeBSD

This commit is contained in:
Michiel Broek
2001-12-22 22:42:59 +00:00
parent ee0f4db63d
commit 3969db7a22
4 changed files with 31 additions and 18 deletions

View File

@@ -1,11 +1,10 @@
/*****************************************************************************
*
* File ..................: mbcico/ulock.c
* $Id$
* Purpose ...............: Fidonet mailer
* Last modification date : 18-Dec-1999
*
*****************************************************************************
* Copyright (C) 1997-1999
* Copyright (C) 1997-2001
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@@ -33,8 +32,12 @@
#include "../lib/clcomm.h"
#ifndef LOCKDIR
#ifdef __FreeBSD__
#define LOCKDIR "/var/spool/lock"
#else
#define LOCKDIR "/var/lock"
#endif
#endif
#define LCKPREFIX LOCKDIR"/LCK.."
#define LCKTMP LOCKDIR"/TMP."