From f13261b9eb6fe911e42f8af4fdd6312b231cc76d Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Thu, 18 Oct 2012 01:11:31 +0000
Subject: [PATCH] Fix the only use of the __unix macro anywhere in all of the
 code.

Apparently, it IS defined on Linux and FreeBSD, but is not currently
defined on OpenBSD (but I bet it used to be!).  This should fix the strange
zip behaviour reported by khelair.
---
 src/sbbs3/sbbsdefs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/sbbsdefs.h b/src/sbbs3/sbbsdefs.h
index c573f27351..cf7e6c74ad 100644
--- a/src/sbbs3/sbbsdefs.h
+++ b/src/sbbs3/sbbsdefs.h
@@ -761,7 +761,7 @@ enum {							/* readmail and delmailidx which types		*/
 #define EX_STDIO	(EX_STDIN|EX_STDOUT)
 #define EX_CONIO	(1<<31)		/* Intercept Windows console I/O (doorway)	*/
 
-#if defined(__unix)
+#if defined(__unix__)
 #define EX_WILDCARD	EX_SH		/* Expand wildcards using 'sh' on Unix		*/
 #else
 #define EX_WILDCARD	0
-- 
GitLab