From cd2a9c1fab5635687e3844aac4540cb3238e88ee Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Fri, 5 Mar 2010 13:24:06 +0000 Subject: [PATCH] Fix build for Dragonfly BSD --- goldlib/gall/gdefs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/goldlib/gall/gdefs.h b/goldlib/gall/gdefs.h index 06b3681..b3b89f4 100644 --- a/goldlib/gall/gdefs.h +++ b/goldlib/gall/gdefs.h @@ -114,6 +114,10 @@ typedef char TCHAR; #define __UNIX__ #endif +#if defined(unix) || defined(__unix__) || defined(__unix) +#define __UNIX__ +#endif + #ifdef __UNIX__ #define NL "\r\n" #else