Added PUGIXML_VERSION define to enable preprocessor-based version checks in case compatibility workarounds are needed
git-svn-id: http://pugixml.googlecode.com/svn/trunk@827 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
678d81bea6
commit
aef822c27e
@ -14,6 +14,10 @@
|
||||
#ifndef HEADER_PUGIXML_HPP
|
||||
#define HEADER_PUGIXML_HPP
|
||||
|
||||
// Define version macro; evaluates to major * 100 + minor so that it's safe to use in less-than comparisons
|
||||
#define PUGIXML_VERSION 100
|
||||
|
||||
// Include user configuration file (this can define various configuration macros)
|
||||
#include "pugiconfig.hpp"
|
||||
|
||||
// Include stddef.h for size_t and ptrdiff_t
|
||||
|
||||
Loading…
Reference in New Issue
Block a user