mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-30 09:59:03 +02:00
Add WebAssembly support.
This commit is contained in:
+1
-1
@@ -231,7 +231,7 @@ bool Gowin::send_command(uint8_t cmd)
|
||||
#include <libkern/OSByteOrder.h>
|
||||
#define le32toh(x) OSSwapLittleToHostInt32(x)
|
||||
#define htole32(x) OSSwapHostToLittleInt32(x)
|
||||
#elif (defined(_WIN16) || defined(_WIN32) || defined(_WIN64)) || defined(__WINDOWS__)
|
||||
#elif (defined(_WIN16) || defined(_WIN32) || defined(_WIN64)) || defined(__WINDOWS__) || defined(__wasm__)
|
||||
#if BYTE_ORDER == LITTLE_ENDIAN
|
||||
#if defined(_MSC_VER)
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user