* include/slang.h: Define __unix__ if __NetBSD__ is defined.

This commit is contained in:
Roland Illig 2005-02-10 13:29:51 +00:00
parent 9a020da9c6
commit dbd6062273
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-02-10 Roland Illig <roland.illig@gmx.de>
* include/slang.h: Define __unix__ if __NetBSD__ is defined.
2004-11-29 Pavel S. Shirshov <me@pavelsh.pp.ru> 2004-11-29 Pavel S. Shirshov <me@pavelsh.pp.ru>
* Makefile.am: Use AM_CPPFLAGS for path to mc-slang includes. * Makefile.am: Use AM_CPPFLAGS for path to mc-slang includes.

View File

@ -24,7 +24,7 @@
# endif # endif
#endif /* __watcomc__ */ #endif /* __watcomc__ */
#if defined(unix) || defined(__unix) || defined (_AIX) #if defined(unix) || defined(__unix) || defined (_AIX) || defined(__NetBSD__)
# ifndef __unix__ # ifndef __unix__
# define __unix__ 1 # define __unix__ 1
# endif # endif