mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-12 16:50:21 +00:00
Fix MG_SEND_FUNC/MG_RECV_FUNC rename fail
PUBLISHED_FROM=da28a75111abb5fb49b122133a66ae9bdf63f474
This commit is contained in:
1 parent
57b35e6007
commit
cbf968735a
2 files changed
+11
-11
No files matched your search
+4
-4
@@ -605,11 +605,11 @@ typedef void *SSL_CTX;
|
||||
#endif
|
||||
|
||||
#ifdef MG_USE_READ_WRITE
|
||||
#define MG_EV_RECV_FUNC(s, b, l, f) read(s, b, l)
|
||||
#define MG_EV_SEND_FUNC(s, b, l, f) write(s, b, l)
|
||||
#define MG_RECV_FUNC(s, b, l, f) read(s, b, l)
|
||||
#define MG_SEND_FUNC(s, b, l, f) write(s, b, l)
|
||||
#else
|
||||
#define MG_EV_RECV_FUNC(s, b, l, f) recv(s, b, l, f)
|
||||
#define MG_EV_SEND_FUNC(s, b, l, f) send(s, b, l, f)
|
||||
#define MG_RECV_FUNC(s, b, l, f) recv(s, b, l, f)
|
||||
#define MG_SEND_FUNC(s, b, l, f) send(s, b, l, f)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in new issue
Block a user