mirror of
https://github.com/janet-lang/janet
synced 2025-01-26 23:24:44 +00:00
Disable networking for emscripten build.
This commit is contained in:
parent
d2ebf4b52d
commit
7b5f40772f
@ -166,7 +166,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/* Enable or disable networking */
|
||||
#ifndef JANET_NO_NET
|
||||
#if !defined(JANET_NO_NET) && !defined(__EMSCRIPTEN__)
|
||||
#define JANET_NET
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user