mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Add the c++ definition HAVE_CONFIG_H in the scons build and check it before including config.h so the cmake build system doesn't need to worry about conflicts from that file if it exists.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6342 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -94,7 +94,7 @@ if env['CCVERSION'] < '4.2.0':
|
||||
if env['CCVERSION'] >= '4.3.0':
|
||||
env['CCFLAGS'] += ['-Wno-array-bounds', '-Wno-unused-result']
|
||||
|
||||
env['CPPDEFINES'] = []
|
||||
env['CPPDEFINES'] = ['HAVE_CONFIG_H']
|
||||
if env['flavor'] == 'debug':
|
||||
env['CPPDEFINES'] += ['_DEBUG']
|
||||
elif env['flavor'] == 'fastlog':
|
||||
|
Reference in New Issue
Block a user