Commit c7602d51 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

widl: Define __REQUIRED_RPCNDR_H_VERSION__ in generated headers.

parent 4156460d
......@@ -1358,6 +1358,11 @@ void write_header(const statement_list_t *stmts)
return;
}
fprintf(header, "/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n\n", PACKAGE_VERSION, input_name);
fprintf(header, "#ifndef __REQUIRED_RPCNDR_H_VERSION__\n");
fprintf(header, "#define __REQUIRED_RPCNDR_H_VERSION__ 475\n");
fprintf(header, "#endif\n\n");
fprintf(header, "#include <rpc.h>\n" );
fprintf(header, "#include <rpcndr.h>\n\n" );
......
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