Add preprocessor symbols for the Win32 version info resource numbers

Since Windows absolutely needs the numeric components and there's no way
to extract them from a string literal, and I don't really want to turn
this file into an eyesore.
This commit is contained in:
Ignacio R. Morelle 2015-07-16 20:02:33 -04:00
parent ce5f9dfa38
commit e2aa9d4239

View file

@ -1,4 +1,3 @@
#ifndef WESCONFIG_H_INCLUDED
#define WESCONFIG_H_INCLUDED
@ -23,7 +22,14 @@
#ifdef VERSION
#undef VERSION
#endif
#define VERSION "1.13.1+dev"
// Used for the Windows executables' version info resource.
#define RC_VERSION_MAJOR 1
#define RC_VERSION_MINOR 13
#define RC_VERSION_REVISION 1
#ifndef PACKAGE
#define PACKAGE "wesnoth"
#endif