Peter M. Groen
/
libmodbus
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
988c9151cded60d7bdd6cb3e0063b34ffe9afc5c
Authored by
Stéphane Raimbault
2015-11-16 21:42:07 +0100
1 parent
b1444214
Define MSG_DONTWAIT to MSG_NONBLOCK on AIX (#294)
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/modbus-tcp.c
src/modbus-tcp.c
View file @
988c915
...
...
@@ -46,6 +46,10 @@
46
46
#define MSG_NOSIGNAL 0
47
47
#endif
48
48
49
+#if defined(_AIX) && !defined(MSG_DONTWAIT)
50
+#define MSG_DONTWAIT MSG_NONBLOCK
51
+#endif
52
+
49
53
#include "modbus-private.h"
50
54
51
55
#include "modbus-tcp.h"
...
...