Define __unix__ if __MACH__ is defined.

This commit is contained in:
Roland Illig 2005-07-30 22:56:39 +00:00
parent 8129d1ae5e
commit 4dbb9f3191
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-07-30 Roland Illig <roland.illig@gmx.de>
* include/slang.h: Define __unix__ if __MACH__ is defined.
2005-03-19 Pavel S. Shirshov <me@pavelsh.pp.ru> 2005-03-19 Pavel S. Shirshov <me@pavelsh.pp.ru>
* sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR, * sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR,

View File

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