diff --git a/tools/widl/widl.c b/tools/widl/widl.c index f3302398a2b..2c4a3c6cee5 100644 --- a/tools/widl/widl.c +++ b/tools/widl/widl.c @@ -32,8 +32,6 @@ #include #include -#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 \n" ); fprintf(header, "#include \n\n" ); fprintf(header, "#ifndef __WIDL_%s\n", header_token);