Skip to content

Commit

Permalink
try this for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-coding committed Jul 28, 2024
1 parent 5d5f138 commit bc6bad1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions code/logic/fossil/tofu/tofu.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@
#include <stdint.h>
#include <wchar.h>

#if !defined(__cplusplus)
#if __STDC_VERSION__ >= 201112L
#include <uchar.h>
#if defined(__APPLE__)
#include <wchar.h> // Use wchar.h on macOS
typedef wchar_t char16_t;
typedef wchar_t char32_t;
#else
typedef unsigned short char16_t;
typedef unsigned int char32_t;
#endif
#include <uchar.h> // Use uchar.h on other systems
#endif

/**
Expand Down

0 comments on commit bc6bad1

Please sign in to comment.