From dbd60622731bedb545bb7492ca156eafdec2616c Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Thu, 10 Feb 2005 13:29:51 +0000 Subject: [PATCH] * include/slang.h: Define __unix__ if __NetBSD__ is defined. --- slang/ChangeLog | 4 ++++ slang/include/slang.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/slang/ChangeLog b/slang/ChangeLog index 96190cb60..c12f34219 100644 --- a/slang/ChangeLog +++ b/slang/ChangeLog @@ -1,3 +1,7 @@ +2005-02-10 Roland Illig + + * include/slang.h: Define __unix__ if __NetBSD__ is defined. + 2004-11-29 Pavel S. Shirshov * Makefile.am: Use AM_CPPFLAGS for path to mc-slang includes. diff --git a/slang/include/slang.h b/slang/include/slang.h index 0f4ec4b75..8019aed65 100644 --- a/slang/include/slang.h +++ b/slang/include/slang.h @@ -24,7 +24,7 @@ # endif #endif /* __watcomc__ */ -#if defined(unix) || defined(__unix) || defined (_AIX) +#if defined(unix) || defined(__unix) || defined (_AIX) || defined(__NetBSD__) # ifndef __unix__ # define __unix__ 1 # endif