From 49a9efb0101fc17444611824d2efec94401a9809 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Thu, 4 Nov 2010 21:27:03 +0000 Subject: [PATCH] config.h is only created on Unix. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6343 8ced0084-cf51-0410-be5f-012b33b47a6e --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 83f56736e8..ea6978b175 100644 --- a/SConstruct +++ b/SConstruct @@ -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'] = ['HAVE_CONFIG_H'] +env['CPPDEFINES'] = [] if env['flavor'] == 'debug': env['CPPDEFINES'] += ['_DEBUG'] elif env['flavor'] == 'fastlog': @@ -189,6 +189,7 @@ elif sys.platform == 'win32': else: env['CCFLAGS'] += ['-fPIC', '-msse2'] + env['CPPDEFINES'] += ['HAVE_CONFIG_H'] env['CPPPATH'].insert(0, '#') # Make sure we pick up our own config.h if sys.platform == 'linux2': env['CPPDEFINES'] += [('_FILE_OFFSET_BITS', 64), '_LARGEFILE_SOURCE']