Changed version number from 'svn' to 'git'.

This commit is contained in:
hiker 2014-12-16 11:46:38 +11:00
parent 62f8e3be2d
commit edd11e3fd2
2 changed files with 4 additions and 4 deletions

View File

@ -29,4 +29,4 @@ static const char* endianness_test_ptr = (const char*)&endianness_test;
// in little-endian, byte 0 will be 0. in big endian, byte 0 will be 1
const bool IS_LITTLE_ENDIAN = (endianness_test_ptr[0] == 0);
const char STK_VERSION[] = "svn";
const char STK_VERSION[] = "git";

View File

@ -696,10 +696,10 @@ namespace StringUtils
*/
int versionToInt(const std::string &version_string)
{
// Special case: SVN
if(version_string=="SVN" || version_string=="svn")
// Special case: GIT
if(version_string=="GIT" || version_string=="git")
{
// SVN version will be version 99.99.99i-rcJ
// GIT version will be version 99.99.99i-rcJ
return 1000000*99
+ 10000*99
+ 100*99