From Toshiyuki Takahei, added #pragam to avoid build problem with special characters.
From Robert Osfield, added #if _MSC_VER to restrict pragma usage to just VisualStudio, and added comment explaining all the extra parsing code in osgversion.
This commit is contained in:
parent
d3541b96ed
commit
f391b0ff2c
@ -7,6 +7,14 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
|
// the majority of the application is dedicated to building the
|
||||||
|
// current contribitors list by parsing the ChangeLog, it just takes
|
||||||
|
// one line in the main itself to report the version number.
|
||||||
|
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#pragma setlocale("C")
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef std::pair<std::string, std::string> NamePair;
|
typedef std::pair<std::string, std::string> NamePair;
|
||||||
typedef std::map<NamePair,unsigned int> NameMap;
|
typedef std::map<NamePair,unsigned int> NameMap;
|
||||||
typedef std::vector< std::string > Words;
|
typedef std::vector< std::string > Words;
|
||||||
|
Loading…
Reference in New Issue
Block a user