Fix player compile in scons and disable -Wmissing-prototypes for Apple atm.

This commit is contained in:
Jens Verwiebe 2014-01-27 19:36:05 +01:00
parent 7280321f7a
commit 74108e2d6c
2 changed files with 2 additions and 1 deletions

@ -30,6 +30,7 @@ Import ('env')
sources = ['stubs.c'] sources = ['stubs.c']
incs = [ incs = [
'..',
'#/intern/guardedalloc', '#/intern/guardedalloc',
'#/source/blender/makesdna', '#/source/blender/makesdna',
'#/source/blender/makesrna', '#/source/blender/makesrna',

@ -140,7 +140,7 @@ struct wmWindowManager;
/* may cause troubles... enable for now so args match for certain */ /* may cause troubles... enable for now so args match for certain */
#if 1 #if 1
#ifdef __GNUC__ #if defined(__GNUC__) && !defined(__APPLE__)
# pragma GCC diagnostic error "-Wmissing-prototypes" # pragma GCC diagnostic error "-Wmissing-prototypes"
#endif #endif