Skip to content

Commit

Permalink
find endian.h on emscripten (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored Nov 12, 2024
1 parent ba9ffac commit 2f5fb82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libime/core/utils_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <utility>
#include <vector>

#if defined(__linux__) || defined(__GLIBC__)
#if defined(__linux__) || defined(__GLIBC__) || defined(__EMSCRIPTEN__)
#include <endian.h>
#elif defined(__APPLE__)
#include <libkern/OSByteOrder.h>
Expand Down

0 comments on commit 2f5fb82

Please sign in to comment.