summaryrefslogtreecommitdiff
path: root/devel/libslang2/patches/patch-ac
blob: 3de8212748827749388b683bdced4a4af0a2f600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.1.1.1 2008/08/09 21:22:11 bjs Exp $

--- src/slang.h.orig	2007-10-28 18:37:14.000000000 -0400
+++ src/slang.h
@@ -43,6 +43,11 @@ USA.  
 # endif
 #endif /* __watcomc__ */
 
+#if defined(__NetBSD__) || defined(__APPLE__)
+#undef unix
+#define unix 1
+#endif
+
 #if defined(unix) || defined(__unix)
 # ifndef __unix__
 #  define __unix__ 1