Alexandre Julliard : widl: We no longer need to avoid windows. h in generated headers.
Alexandre Julliard
julliard at winehq.org
Fri Jan 20 13:09:30 CST 2012
Module: wine
Branch: master
Commit: 42e583f1f6b2c0c9f963251495661ea8c11be005
URL: http://source.winehq.org/git/wine.git/?a=commit;h=42e583f1f6b2c0c9f963251495661ea8c11be005
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Jan 20 15:59:02 2012 +0100
widl: We no longer need to avoid windows.h in generated headers.
---
tools/widl/header.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/header.c b/tools/widl/header.c
index fc9cbf1..00d6e76 100644
--- a/tools/widl/header.c
+++ b/tools/widl/header.c
@@ -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");
More information about the wine-cvs
mailing list