Commit d68fab9e authored by Sergey Lyubka's avatar Sergey Lyubka Committed by Sergey Lyubka

Enable threads on Win by default

    PUBLISHED_FROM=cc4070d618f079ccd1e02e62bba87247e75c74aa
parent bda47024
...@@ -1192,6 +1192,10 @@ FILE *mg_fopen(const char *path, const char *mode); ...@@ -1192,6 +1192,10 @@ FILE *mg_fopen(const char *path, const char *mode);
int mg_open(const char *path, int flag, int mode); int mg_open(const char *path, int flag, int mode);
#endif /* MG_DISABLE_FILESYSTEM */ #endif /* MG_DISABLE_FILESYSTEM */
#ifdef _WIN32
#define MG_ENABLE_THREADS
#endif
#ifdef MG_ENABLE_THREADS #ifdef MG_ENABLE_THREADS
/* /*
* Start a new detached thread. * Start a new detached thread.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment