write the version number as a macro
diff --git a/tinyxml2.h b/tinyxml2.h
index 1331615..505a892 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -102,6 +102,10 @@
 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;