mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
fixes for Keil
This commit is contained in:
1 parent
26260a1d88
commit
7530062e4b
3 files changed
+3
-2
No files matched your search
+1
-1
@@ -8912,7 +8912,7 @@ static void mg_set_non_blocking_mode(MG_SOCKET_TYPE fd) {
|
||||
void mg_multicast_add(struct mg_connection *c, char *ip);
|
||||
void mg_multicast_add(struct mg_connection *c, char *ip) {
|
||||
#if MG_ENABLE_RL
|
||||
#error UNSUPPORTED
|
||||
MG_ERROR(("unsupported"));
|
||||
#elif MG_ENABLE_FREERTOS_TCP
|
||||
// TODO(): prvAllowIPPacketIPv4()
|
||||
#else
|
||||
|
||||
@@ -285,6 +285,7 @@ extern "C" {
|
||||
#define mode_t size_t
|
||||
#include <alloca.h>
|
||||
#include <time.h>
|
||||
#define strdup(s) ((char *) mg_strdup(mg_str(s)).buf)
|
||||
#elif defined(__CCRH__)
|
||||
#else
|
||||
#include <sys/stat.h>
|
||||
|
||||
+1
-1
@@ -181,7 +181,7 @@ static void mg_set_non_blocking_mode(MG_SOCKET_TYPE fd) {
|
||||
void mg_multicast_add(struct mg_connection *c, char *ip);
|
||||
void mg_multicast_add(struct mg_connection *c, char *ip) {
|
||||
#if MG_ENABLE_RL
|
||||
#error UNSUPPORTED
|
||||
MG_ERROR(("unsupported"));
|
||||
#elif MG_ENABLE_FREERTOS_TCP
|
||||
// TODO(): prvAllowIPPacketIPv4()
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user