1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-27 15:44:45 +00:00

Disable networking for emscripten build.

This commit is contained in:
Calvin Rose 2020-04-26 12:37:27 -05:00
parent d2ebf4b52d
commit 7b5f40772f

View File

@ -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