From 6b7b10b3ff63f569b0bc421bfa1ed50cf9e295df Mon Sep 17 00:00:00 2001 From: parmsam Date: Fri, 12 Apr 2024 21:50:46 -0400 Subject: [PATCH] attempt fix by removing uchar.h --- src/lz-string.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/lz-string.h b/src/lz-string.h index 41f0b4b..68f67e2 100644 --- a/src/lz-string.h +++ b/src/lz-string.h @@ -20,16 +20,12 @@ namespace lzstring { #ifdef _MSC_VER using string = std::wstring; -# ifndef _U -# define _U(x) L##x -# endif +# define _U(x) L##x #else using string = std::u16string; -#include -# ifndef _U -# define _U(x) u##x -# endif +# define _U(x) u##x #endif + namespace __inner { const string keyStrBase64{_U("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")};