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

This commit is contained in:
Dan Hipschman 2007-09-10 16:08:44 -07:00 committed by Alexandre Julliard
parent f3c9a9b1b6
commit 9d2c6e78f2
1 changed files with 1 additions and 2 deletions

View File

@ -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");