Index: ncbi/corelib/ncbienv.c =================================================================== --- a/ncbi/corelib/ncbienv.c 17 Aug 2009 19:56:13 -0000 +++ b/ncbi/corelib/ncbienv.c 9 Nov 2009 18:44:01 -0000 @@ -1932,7 +1932,7 @@ static char **targv = NULL; -#if defined(WIN_MAC) +#if defined(WIN_MAC) || defined(OS_UNIX_DARWIN) static FSSpec apFileSpec; static Str255 apName; static Handle apParam; @@ -2047,7 +2047,7 @@ } } #endif /* defined(OS_UNIX_DARWIN) */ -#endif /* defined(WIN_MAC) */ +#endif /* defined(WIN_MAC) || defined(OS_UNIX_DARWIN) */ #if defined(OS_MSWIN) || defined(OS_VMS) @@ -2240,7 +2240,7 @@ { NlmMutexLockEx( &corelibMutex ); wasSetup = TRUE; -#if defined(WIN_MAC) +#if defined(WIN_MAC) || defined(OS_UNIX_DARWIN) wasSetup = Nlm_SetupArguments_ST_Mac(); #elif defined(OS_UNIX) {{ @@ -2419,7 +2419,7 @@ int mib [2]; Nlm_Char model [32]; #endif - long sysVer; + Nlm_Int4 sysVer; #endif Nlm_CharPtr str = "unknown"; Index: ncbi/corelib/ncbiwin.h =================================================================== --- a/ncbi/corelib/ncbiwin.h 24 Nov 2006 20:05:36 -0000 +++ b/ncbi/corelib/ncbiwin.h 9 Nov 2009 18:44:01 -0000 @@ -168,6 +168,8 @@ #include #include #endif +#elif defined(OS_UNIX_DARWIN) +#include #endif /* used in ncbifile.c *****/ Index: ncbi/make/makedis.csh =================================================================== --- a/ncbi/make/makedis.csh 23 Mar 2009 17:10:14 -0000 +++ b/ncbi/make/makedis.csh 9 Nov 2009 18:44:01 -0000 @@ -235,7 +235,7 @@ endif endif set HAVE_MOTIF=0 - set HAVE_MAC=1 + # set HAVE_MAC=1 breaksw case NetBSD: set platform=netbsd