Changed version number from 'svn' to 'git'.
This commit is contained in:
parent
62f8e3be2d
commit
edd11e3fd2
@ -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";
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user