From 4f40c727fddf6e7ff2dd846d89e54965e9651203 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 10 Aug 2020 11:46:42 +0000 Subject: [PATCH] utf8lib: Remove MSVC exception for stdint.h git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12893 d7cf8633-e32d-0410-b094-e92efae38249 --- utf8lib.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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. -- 2.39.2