diff options
-rw-r--r-- | source/blenderplayer/bad_level_call_stubs/stubs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index 556377b49e0..9a3dbe9b378 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -139,8 +139,9 @@ struct wmWindowManager; /* Declarations */ /* may cause troubles... enable for now so args match for certain */ +/* all 7 freestyle stubs are not valid prototypes, disabling diagnostic then, Jens */ #if 1 -#if defined(__GNUC__) && !defined(__APPLE__) +#if defined(__GNUC__) && !defined(WITH_FREESTYLE) # pragma GCC diagnostic error "-Wmissing-prototypes" #endif |