Commit a20f7f46 authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

widl: Fix incorrect version number in generated code.

parent a17d253c
...@@ -451,7 +451,7 @@ static void init_client(void) ...@@ -451,7 +451,7 @@ static void init_client(void)
if (!(client = fopen(client_name, "w"))) if (!(client = fopen(client_name, "w")))
error("Could not open %s for output\n", client_name); error("Could not open %s for output\n", client_name);
print_client("/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", WIDL_FULLVERSION, input_name); print_client("/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", PACKAGE_VERSION, input_name);
print_client("#include <string.h>\n"); print_client("#include <string.h>\n");
print_client("#ifdef _ALPHA_\n"); print_client("#ifdef _ALPHA_\n");
print_client("#include <stdarg.h>\n"); print_client("#include <stdarg.h>\n");
......
...@@ -147,7 +147,7 @@ static void init_proxy(void) ...@@ -147,7 +147,7 @@ static void init_proxy(void)
if (proxy) return; if (proxy) return;
if(!(proxy = fopen(proxy_name, "w"))) if(!(proxy = fopen(proxy_name, "w")))
error("Could not open %s for output\n", proxy_name); error("Could not open %s for output\n", proxy_name);
print_proxy( "/*** Autogenerated by WIDL %s - Do not edit ***/\n", WIDL_FULLVERSION); print_proxy( "/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", PACKAGE_VERSION, input_name);
print_proxy( "\n"); print_proxy( "\n");
print_proxy( "#ifndef __REDQ_RPCPROXY_H_VERSION__\n"); print_proxy( "#ifndef __REDQ_RPCPROXY_H_VERSION__\n");
print_proxy( "#define __REQUIRED_RPCPROXY_H_VERSION__ 440\n"); print_proxy( "#define __REQUIRED_RPCPROXY_H_VERSION__ 440\n");
......
...@@ -587,7 +587,7 @@ static void init_server(void) ...@@ -587,7 +587,7 @@ static void init_server(void)
if (!(server = fopen(server_name, "w"))) if (!(server = fopen(server_name, "w")))
error("Could not open %s for output\n", server_name); error("Could not open %s for output\n", server_name);
print_server("/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", WIDL_FULLVERSION, input_name); print_server("/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", PACKAGE_VERSION, input_name);
print_server("#include <string.h>\n"); print_server("#include <string.h>\n");
fprintf(server, "\n"); fprintf(server, "\n");
print_server("#include \"%s\"\n", header_name); print_server("#include \"%s\"\n", header_name);
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
#include <time.h> #include <time.h>
#define WIDL_FULLVERSION "0.1"
extern int debuglevel; extern int debuglevel;
#define DEBUGLEVEL_NONE 0x0000 #define DEBUGLEVEL_NONE 0x0000
#define DEBUGLEVEL_CHAT 0x0001 #define DEBUGLEVEL_CHAT 0x0001
......
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