Fix errno usage and add DragonFly support

Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
Jörg Sonnenberger 2005-12-02 22:57:32 +00:00 committed by Masanori Ogino
commit 0a67b18647
10 changed files with 18 additions and 31 deletions

View file

@ -43,7 +43,7 @@
* This default value is "/dev/null" in document.
* Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/11
*/
#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
#define ErrorOutFile "/dev/console"
#else
/* #define ErrorOutFile "/dev/stderr" */ /* for test */