Commit 9d2c6e78 authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

widl: Output UUID files compatible with older Visual C++ and MinGW.

parent f3c9a9b1
...@@ -396,8 +396,7 @@ int main(int argc,char *argv[]) ...@@ -396,8 +396,7 @@ int main(int argc,char *argv[])
fprintf(idfile, "from %s - Do not edit ***/\n\n", input_name); fprintf(idfile, "from %s - Do not edit ***/\n\n", input_name);
fprintf(idfile, "#include <rpc.h>\n"); fprintf(idfile, "#include <rpc.h>\n");
fprintf(idfile, "#include <rpcndr.h>\n\n"); fprintf(idfile, "#include <rpcndr.h>\n\n");
fprintf(idfile, "#define INITGUID\n"); fprintf(idfile, "#include <initguid.h>\n\n");
fprintf(idfile, "#include <guiddef.h>\n\n");
fprintf(idfile, "#ifdef __cplusplus\n"); fprintf(idfile, "#ifdef __cplusplus\n");
fprintf(idfile, "extern \"C\" {\n"); fprintf(idfile, "extern \"C\" {\n");
fprintf(idfile, "#endif\n\n"); fprintf(idfile, "#endif\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