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