mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-03 13:28:44 +00:00
fixes for Keil
This commit is contained in:
1 parent
7530062e4b
commit
8f77fd3940
1 file changed
+1
@@ -17,6 +17,7 @@
|
|||||||
#define mode_t size_t
|
#define mode_t size_t
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#define strdup(s) ((char *) mg_strdup(mg_str(s)).buf)
|
||||||
#elif defined(__CCRH__)
|
#elif defined(__CCRH__)
|
||||||
#else
|
#else
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|||||||
Reference in new issue
Block a user