Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
modbus-tcp.c move declaration to the begining of the scope #92
In order to be able to build on MSVS we need to move ioctloption declaration to the begining of the scope. modbus-tcp.c needs slight modification. After this it will compile.
static int _modbus_tcp_set_ipv4_options(int s)
ifdef OS_WIN32 <== CHANGE STARTS
endif <== CHANGE ENDS