Skip to content

Commit

Permalink
attempt fix by removing uchar.h
Browse files Browse the repository at this point in the history
  • Loading branch information
parmsam committed Apr 13, 2024
1 parent 461d8dc commit 6b7b10b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/lz-string.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <uchar.h>
# ifndef _U
# define _U(x) u##x
# endif
# define _U(x) u##x
#endif

namespace __inner
{
const string keyStrBase64{_U("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")};
Expand Down

0 comments on commit 6b7b10b

Please sign in to comment.