write the version number as a macro

This commit is contained in:
Lee Thomason
2017-12-28 13:31:48 -08:00
parent 4155ac0c73
commit bd197877ca
3 changed files with 27 additions and 1 deletions

View File

@@ -102,6 +102,10 @@ static const int TIXML2_MAJOR_VERSION = 5;
static const int TIXML2_MINOR_VERSION = 0;
static const int TIXML2_PATCH_VERSION = 1;
#define TINYXML2_MAJOR_VERSION 5
#define TINYXML2_MINOR_VERSION 0
#define TINYXML2_PATCH_VERSION 1
namespace tinyxml2
{
class XMLDocument;