Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blenderplayer/bad_level_call_stubs/stubs.c')
-rw-r--r--source/blenderplayer/bad_level_call_stubs/stubs.c3
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