Moved COUNT from private to public
diff --git a/tinyxml2.h b/tinyxml2.h
index 92e2b57..071dbbe 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -349,8 +349,9 @@
                 name, _maxAllocs, _maxAllocs*SIZE/1024, _currentAllocs, SIZE, _nAllocs, _blockPtrs.Size() );

     }

 

+    enum { COUNT = 1024/SIZE }; // Some compilers do not accept to use COUNT in private part if COUNT is private

+

 private:

-    enum { COUNT = 1024/SIZE };

     union Chunk {

         Chunk*  next;

         char    mem[SIZE];