Remove NSAutoreleasePools that are no longer necessary now that pools

are properly declared at thread entry/exit. I am leaving the ones in
Wiiuse while there's still a small hope that it may be used outside of
Dolphin, though.

Move the fixed MAP_32BIT definition for OS X to Common.h.

UDPNunchuk.cpp was deleted, so update the scons build.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5864 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-07-09 22:31:04 +00:00
parent 1e4f3c589d
commit 2bcdf4f5a4
7 changed files with 39 additions and 137 deletions

View File

@ -257,7 +257,6 @@ env['HAVE_WX'] = 0
# OS X specifics
if sys.platform == 'darwin':
compileFlags.append('-mmacosx-version-min=10.5')
cppDefines.append('MAP_32BIT=0')
if not env['nowx']:
cppDefines.append('HAVE_WX=1')
conf = env.Configure(custom_tests = tests)
@ -322,10 +321,9 @@ if not sys.platform == 'win32' and not sys.platform == 'darwin':
wxmods.remove('gl')
env['HAVE_WX'] = conf.CheckWXConfig(2.8, wxmods, 0)
wxconfig.ParseWXConfig(env)
if not env['HAVE_WX'] and not env['nowx']:
print "WX libraries not found - see config.log"
Exit(1)
if not env['HAVE_WX']:
print "WX libraries not found - see config.log"
Exit(1)
conf.Define('HAVE_WX', env['HAVE_WX'])