From 7b5f40772f571611f7cdbfe2a1320f758a381779 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 26 Apr 2020 12:37:27 -0500 Subject: [PATCH] Disable networking for emscripten build. --- src/include/janet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/janet.h b/src/include/janet.h index 46f4c8c2..31bd0a73 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -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