Ticket #22621: c-toolkit-no-carbon.patch
File c-toolkit-no-carbon.patch, 1.4 KB (added by jashugan@…, 15 years ago) |
---|
-
corelib/ncbienv.c
1938 1938 static char **targv = NULL; 1939 1939 1940 1940 1941 #if defined(WIN_MAC) 1941 #if defined(WIN_MAC) || defined(OS_UNIX_DARWIN) 1942 1942 static FSSpec apFileSpec; 1943 1943 static Str255 apName; 1944 1944 static Handle apParam; … … 2053 2053 } 2054 2054 } 2055 2055 #endif /* defined(OS_UNIX_DARWIN) */ 2056 #endif /* defined(WIN_MAC) */2056 #endif /* defined(WIN_MAC) || defined(OS_UNIX_DARWIN) */ 2057 2057 2058 2058 2059 2059 #if defined(OS_MSWIN) || defined(OS_VMS) … … 2244 2244 { 2245 2245 NlmMutexLockEx( &corelibMutex ); 2246 2246 wasSetup = TRUE; 2247 #if defined(WIN_MAC) 2247 #if defined(WIN_MAC) || defined(OS_UNIX_DARWIN) 2248 2248 wasSetup = Nlm_SetupArguments_ST_Mac(); 2249 2249 #elif defined(OS_UNIX) 2250 2250 {{ … … 2424 2424 int mib [2]; 2425 2425 Nlm_Char model [32]; 2426 2426 #endif 2427 longsysVer;2427 Nlm_Int4 sysVer; 2428 2428 #endif 2429 2429 Nlm_CharPtr str = "unknown"; 2430 2430 -
corelib/ncbiwin.h
168 168 #include <Sound.h> 169 169 #include <Folders.h> 170 170 #endif 171 #elif defined(OS_UNIX_DARWIN) 172 #include <CoreServices/CoreServices.h> 171 173 #endif 172 174 173 175 /* used in ncbifile.c *****/ -
make/makedis.csh
240 240 endif 241 241 endif 242 242 set HAVE_MOTIF=0 243 set HAVE_MAC=1243 # set HAVE_MAC=1 244 244 breaksw 245 245 case NetBSD: 246 246 set platform=netbsd