mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
Fix arm and armhf test builds and unit_test runtime.
Generalized with the correct define (comment from SC).
This commit is contained in:
1 parent
f14798dec9
commit
eb36b6755f
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -2205,7 +2205,7 @@ static void eh6(struct mg_connection *c, int ev, void *ev_data, void *fn_data) {
|
||||
(void) c, (void) ev_data;
|
||||
}
|
||||
|
||||
#if defined(__arm__) || defined(__riscv)
|
||||
#if (MG_ENABLE_SOCKET == 0)
|
||||
int send(int sock, const void *buf, size_t len, int flags);
|
||||
int send(int sock, const void *buf, size_t len, int flags) {
|
||||
(void) sock, (void) buf, (void) len, (void) flags;
|
||||
|
||||
Reference in new issue
Block a user