diff options
Diffstat (limited to 'recipes/flac.recipe')
-rw-r--r-- | recipes/flac.recipe | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/flac.recipe b/recipes/flac.recipe index c8596cf7..898b5bcd 100644 --- a/recipes/flac.recipe +++ b/recipes/flac.recipe @@ -43,4 +43,7 @@ class Recipe(recipe.Recipe): 'cpu.c'), {'# undef USE_OBSOLETE_SIGCONTEXT_FLAVOR': '#define USE_OBSOLETE_SIGCONTEXT_FLAVOR'}) + elif self.config.target_platform == Platform.WINDOWS: + # Newer MinGW requires this define for sscanf in stdio.h + self.append_env('CFLAGS', '-D__USE_MINGW_ANSI_STDIO=1') await super(Recipe, self).configure() |