Browse Source

Define __unix__ if __MACH__ is defined.

Roland Illig 19 years ago
parent
commit
4dbb9f3191
2 changed files with 5 additions and 1 deletions
  1. 4 0
      slang/ChangeLog
  2. 1 1
      slang/include/slang.h

+ 4 - 0
slang/ChangeLog

@@ -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>
 
 	* sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR,

+ 1 - 1
slang/include/slang.h

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