Fix Makefile for OSX
Bump base SDK from 10.5 -> 10.7 Just use the builtin __APPLE__
This commit is contained in:
parent
a40588c8b9
commit
398dea397c
22 changed files with 39 additions and 49 deletions
|
@ -565,7 +565,7 @@ void Sys_ParseArgs( int argc, char **argv )
|
|||
}
|
||||
|
||||
#ifndef DEFAULT_BASEDIR
|
||||
# ifdef MACOS_X
|
||||
# ifdef __APPLE__
|
||||
# define DEFAULT_BASEDIR Sys_StripAppBundle(Sys_BinaryPath())
|
||||
# else
|
||||
# define DEFAULT_BASEDIR Sys_BinaryPath()
|
||||
|
@ -646,7 +646,7 @@ int main( int argc, char **argv )
|
|||
// Set the initial time base
|
||||
Sys_Milliseconds( );
|
||||
|
||||
#ifdef MACOS_X
|
||||
#ifdef __APPLE__
|
||||
// This is passed if we are launched by double-clicking
|
||||
if ( argc >= 2 && Q_strncmp ( argv[1], "-psn", 4 ) == 0 )
|
||||
argc = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue