Commit 6e1e4e580f94f737cb6d7edfefd519350649b25d
1 parent
49b2208d
Tiny coding conventions
Showing
1 changed file
with
4 additions
and
4 deletions
src/modbus.h
| @@ -24,11 +24,11 @@ | @@ -24,11 +24,11 @@ | ||
| 24 | #if defined(WIN32) && !defined(__CYGWIN__) | 24 | #if defined(WIN32) && !defined(__CYGWIN__) |
| 25 | #define NATIVE_WIN32 | 25 | #define NATIVE_WIN32 |
| 26 | #define MSG_NOSIGNAL 0 | 26 | #define MSG_NOSIGNAL 0 |
| 27 | -#define ECONNRESET WSAECONNRESET | 27 | +#define ECONNRESET WSAECONNRESET |
| 28 | #define ECONNREFUSED WSAECONNREFUSED | 28 | #define ECONNREFUSED WSAECONNREFUSED |
| 29 | -#define ETIMEDOUT WSAETIMEDOUT | ||
| 30 | -#define ENOPROTOOPT WSAENOPROTOOPT | ||
| 31 | -#define SHUT_RDWR 2 | 29 | +#define ETIMEDOUT WSAETIMEDOUT |
| 30 | +#define ENOPROTOOPT WSAENOPROTOOPT | ||
| 31 | +#define SHUT_RDWR 2 | ||
| 32 | #include <winsock2.h> | 32 | #include <winsock2.h> |
| 33 | #endif /* win32 and no cygwin */ | 33 | #endif /* win32 and no cygwin */ |
| 34 | 34 |