mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
widl: We no longer need to avoid windows.h in generated headers.
This commit is contained in:
parent
25441f40f8
commit
42e583f1f6
1 changed files with 1 additions and 1 deletions
|
@ -1366,7 +1366,7 @@ void write_header(const statement_list_t *stmts)
|
||||||
fprintf(header, "#include <rpc.h>\n" );
|
fprintf(header, "#include <rpc.h>\n" );
|
||||||
fprintf(header, "#include <rpcndr.h>\n\n" );
|
fprintf(header, "#include <rpcndr.h>\n\n" );
|
||||||
|
|
||||||
fprintf(header, "#if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__)\n");
|
fprintf(header, "#ifndef COM_NO_WINDOWS_H\n");
|
||||||
fprintf(header, "#include <windows.h>\n");
|
fprintf(header, "#include <windows.h>\n");
|
||||||
fprintf(header, "#include <ole2.h>\n");
|
fprintf(header, "#include <ole2.h>\n");
|
||||||
fprintf(header, "#endif\n\n");
|
fprintf(header, "#endif\n\n");
|
||||||
|
|
Loading…
Reference in a new issue