From c0ba32f7a67d4ff1c3f58b47d877c64bae24bd79 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Fri, 20 Mar 2015 15:33:02 +0000 Subject: [PATCH] Set NS_DISABLE_THREADS ifndef MONGOOSE_ENABLE_THREADS --- mongoose.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mongoose.c b/mongoose.c index 8d373c9f..de8a0d34 100644 --- a/mongoose.c +++ b/mongoose.c @@ -61,6 +61,10 @@ #pragma warning (disable : 4204) // missing c99 support #endif +#ifndef MONGOOSE_ENABLE_THREADS +#define NS_DISABLE_THREADS +#endif + #include #include #include