mirror of
https://github.com/cesanta/mongoose.git
synced 2025-07-31 18:06:14 +08:00
Enable threads on Win by default
PUBLISHED_FROM=cc4070d618f079ccd1e02e62bba87247e75c74aa
This commit is contained in:
parent
bda470245e
commit
d68fab9ee5
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user