Set the widl version to be the same as the global package version.
This commit is contained in:
parent
cf22e0264f
commit
5131ba6150
|
@ -32,8 +32,6 @@
|
|||
#include <ctype.h>
|
||||
#include <signal.h>
|
||||
|
||||
#define WIDL_FULLVERSION "0.1"
|
||||
|
||||
#include "widl.h"
|
||||
#include "utils.h"
|
||||
#include "parser.h"
|
||||
|
@ -77,7 +75,7 @@ static char usage[] =
|
|||
" * 0x20 Preprocessor yacc trace\n"
|
||||
;
|
||||
|
||||
static const char version_string[] = "Wine IDL Compiler Version " WIDL_FULLVERSION "\n"
|
||||
static const char version_string[] = "Wine IDL Compiler version " PACKAGE_VERSION "\n"
|
||||
"Copyright 2002 Ove Kaaven\n";
|
||||
|
||||
int win32 = 1;
|
||||
|
@ -298,7 +296,7 @@ int main(int argc,char *argv[])
|
|||
fprintf(stderr, "Could not open %s for output\n", header_name);
|
||||
return 1;
|
||||
}
|
||||
fprintf(header, "/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", WIDL_FULLVERSION, input_name);
|
||||
fprintf(header, "/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", PACKAGE_VERSION, input_name);
|
||||
fprintf(header, "#include <rpc.h>\n" );
|
||||
fprintf(header, "#include <rpcndr.h>\n\n" );
|
||||
fprintf(header, "#ifndef __WIDL_%s\n", header_token);
|
||||
|
|
Loading…
Reference in New Issue