Include and buildsystem cleanup (#45)

Include cleanup
Reworked buildsystem (Linux only)
Removed dynamic libs, Linux now again uses static linking (like windows)
This commit is contained in:
turleypol 2018-01-29 21:55:48 +01:00 committed by GitHub
parent 79c00d7b9b
commit dbb25bdb62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
542 changed files with 10814 additions and 13515 deletions

View file

@ -111,14 +111,17 @@ void TiXmlBase::ConvertUTF32ToUTF8( unsigned long input, char* output, int* leng
--output;
*output = (char)((input | BYTE_MARK) & BYTE_MASK);
input >>= 6;
// fall through
case 3:
--output;
*output = (char)((input | BYTE_MARK) & BYTE_MASK);
input >>= 6;
// fall through
case 2:
--output;
*output = (char)((input | BYTE_MARK) & BYTE_MASK);
input >>= 6;
// fall through
case 1:
--output;
*output = (char)(input | FIRST_BYTE_MARK[*length]);