-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also make sure the line shows up in grep when using the current version number. Fixes #478.
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ | |
* Copyright (C) 2003, by Kristen Wegner ([email protected]) | ||
*/ | ||
|
||
#ifndef PUGIXML_VERSION | ||
// Define version macro; evaluates to major * 1000 + minor * 10 + patch so that it's safe to use in less-than comparisons | ||
// Note: pugixml used major * 100 + minor * 10 + patch format up until 1.9 (which had version identifier 190); starting from pugixml 1.10, the minor version number is two digits | ||
# define PUGIXML_VERSION 1110 | ||
#ifndef PUGIXML_VERSION | ||
# define PUGIXML_VERSION 1120 // 1.12 | ||
#endif | ||
|
||
// Include user configuration file (this can define various configuration macros) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#include "../src/pugixml.hpp" | ||
|
||
#if PUGIXML_VERSION != 1110 | ||
#if PUGIXML_VERSION != 1120 | ||
#error Unexpected pugixml version | ||
#endif |