Skip to content

Commit e13de20

Browse files
authored
feat(udp): Allow changing UDP_DATAGRAMSIZE at compile time (#452)
1 parent 4844a48 commit e13de20

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/udp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
#include "timeout.h"
1818
#include "socket.h"
1919

20+
#ifndef UDP_DATAGRAMSIZE
2021
#define UDP_DATAGRAMSIZE 8192
22+
#endif
2123

2224
typedef struct t_udp_ {
2325
t_socket sock;

0 commit comments

Comments
 (0)