mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-20 19:41:58 +00:00
Fix #1453 - do not allow empty wakeup buffer
This commit is contained in:
1 parent
59c4dfa33b
commit
e565a7e73d
5 files changed
+6
-10
No files matched your search
@@ -353,6 +353,7 @@ struct timeval {
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <direct.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
@@ -408,6 +409,7 @@ typedef int socklen_t;
|
||||
|
||||
#define realpath(a, b) _fullpath((b), (a), MG_PATH_MAX)
|
||||
#define sleep(x) Sleep(x)
|
||||
#define mkdir(a, b) _mkdir(a)
|
||||
|
||||
#ifndef va_copy
|
||||
#ifdef __va_copy
|
||||
|
||||
Reference in new issue
Block a user