Commit 1a0a6178 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

widl: Respect -N flag for imported files preprocessing.

parent 39da0520
......@@ -911,6 +911,12 @@ FILE *open_input_file( const char *path )
char *name;
int ret;
if (no_preprocess)
{
if (!(file = fopen( path, "r" ))) error_loc( "Unable to open %s\n", path );
return file;
}
name = make_temp_file( "widl", NULL );
if (!(file = fopen( name, "wt" ))) error_loc( "Could not open %s for writing\n", name );
ret = wpp_parse( path, file );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment