[PATCH] makedep: Allow system stdbool.h to be used with msvcrt.
Signed-off-by: Brendan Shanks <bshanks(a)codeweavers.com> --- This is used by an out-of-tree patch (Proton's amd_ags_x64.dll implementation). Also, is this correct or should an stdbool.h be added to include/msvcrt/? tools/makedep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/makedep.c b/tools/makedep.c index 825458156fb..179dae718cd 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -1560,6 +1560,7 @@ static struct file *open_include_file( const struct makefile *make, struct incl_ if (pFile->type == INCL_SYSTEM && pFile->use_msvcrt) { if (!strcmp( pFile->name, "stdarg.h" )) return NULL; + if (!strcmp( pFile->name, "stdbool.h" )) return NULL; fprintf( stderr, "%s:%d: error: system header %s cannot be used with msvcrt\n", pFile->included_by->file->name, pFile->included_line, pFile->name ); exit(1); -- 2.26.2
Brendan Shanks <bshanks(a)codeweavers.com> writes:
This is used by an out-of-tree patch (Proton's amd_ags_x64.dll implementation).
Also, is this correct or should an stdbool.h be added to include/msvcrt/?
Yes that would be preferable. -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Brendan Shanks