Enable Windows MinGW support (#1000)
Allow compilation on Windows MinGW, see build_wamr.md for more details. Note that WASI and some other smallish details are still not supported, but we have a starting point. See more discussion at #993
This commit is contained in:
@ -9,6 +9,11 @@
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN32_)
|
||||
|
||||
#if defined(__MINGW32__) && !defined(_SH_DENYNO)
|
||||
#define _SH_DENYNO 0x40
|
||||
#endif
|
||||
|
||||
char *
|
||||
bh_read_file_to_buffer(const char *filename, uint32 *ret_size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user