We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0838a65 commit 2704009Copy full SHA for 2704009
stdlib/include/llvm/Support/SwapByteOrder.h
@@ -21,7 +21,7 @@
21
#include <stdlib.h>
22
#endif
23
24
-#if defined(__linux__) || defined(__GNU__) || defined(__HAIKU__)
+#if defined(__linux__) || defined(__GNU__) || defined(__HAIKU__) || defined(__wasi__)
25
#include <endian.h>
26
#elif defined(_AIX)
27
#include <sys/machine.h>
0 commit comments