widl: We no longer need to avoid windows.h in generated headers.

This commit is contained in:
Alexandre Julliard 2012-01-20 15:59:02 +01:00
parent 25441f40f8
commit 42e583f1f6
1 changed files with 1 additions and 1 deletions

View File

@ -1366,7 +1366,7 @@ void write_header(const statement_list_t *stmts)
fprintf(header, "#include <rpc.h>\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 <ole2.h>\n");
fprintf(header, "#endif\n\n");