widl: Define __REQUIRED_RPCNDR_H_VERSION__ in generated headers.
This commit is contained in:
parent
4156460d49
commit
c7602d51b3
|
@ -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" );
|
||||
|
||||
|
|
Loading…
Reference in New Issue