Skip to content

Commit

Permalink
Fix uchar on macOS. (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
Apprentice-Alchemist committed Sep 21, 2023
1 parent 01f1920 commit 35b2cf6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/hl.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,6 @@ HL_API int uvszprintf( uchar *out, int out_size, const uchar *fmt, va_list argli
# define utoi(s,end) wcstol(s,end,10)
# define ucmp(a,b) wcscmp(a,b)
# define utostr(out,size,str) wcstombs(out,str,size)
#elif defined(HL_MAC)
typedef uint16_t uchar;
# undef USTR
# define USTR(str) u##str
#else
# include <stdarg.h>
#if defined(HL_IOS) || defined(HL_TVOS) || defined(HL_MAC)
Expand Down

0 comments on commit 35b2cf6

Please sign in to comment.