From: cloudwalk Date: Mon, 10 Aug 2020 11:46:42 +0000 (+0000) Subject: utf8lib: Remove MSVC exception for stdint.h X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4f40c727fddf6e7ff2dd846d89e54965e9651203;p=xonotic%2Fdarkplaces.git utf8lib: Remove MSVC exception for stdint.h git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12893 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/utf8lib.h b/utf8lib.h index 543fbfc0..fc5d1be7 100644 --- a/utf8lib.h +++ b/utf8lib.h @@ -9,16 +9,9 @@ // types for unicode strings // let them be 32 bit for now // normally, whcar_t is 16 or 32 bit, 16 on linux I think, 32 on haiku and maybe windows -#ifdef _MSC_VER -typedef __int32 U_int32; -#else -#include -#include -typedef int32_t U_int32; -#endif // Uchar, a wide character -typedef U_int32 Uchar; +typedef int32_t Uchar; // Initialize UTF8, this registers cvars which allows for UTF8 to be disabled // completely.