diff --git a/reactos/tools/widl/widl.c b/reactos/tools/widl/widl.c index ddf6dd0eeb1..27c35cdafb4 100644 --- a/reactos/tools/widl/widl.c +++ b/reactos/tools/widl/widl.c @@ -482,10 +482,10 @@ void write_id_data(const statement_list_t *stmts) fprintf(idfile, "/*** Autogenerated by WIDL %s ", PACKAGE_VERSION); fprintf(idfile, "from %s - Do not edit ***/\n\n", input_name); - fprintf(idfile, "#ifdef __REACTOS__\n", input_name); - fprintf(idfile, "#define WIN32_NO_STATUS\n", input_name); - fprintf(idfile, "#define WIN32_LEAN_AND_MEAN\n", input_name); - fprintf(idfile, "#endif\n\n", input_name); + fprintf(idfile, "#ifdef __REACTOS__\n"); + fprintf(idfile, "#define WIN32_NO_STATUS\n"); + fprintf(idfile, "#define WIN32_LEAN_AND_MEAN\n"); + fprintf(idfile, "#endif\n\n"); fprintf(idfile, "#include \n"); fprintf(idfile, "#include \n\n");