From 7a6078b6bcd952a53311bd14610782f754f194ef Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Fri, 5 May 2017 16:06:15 +0200 Subject: [PATCH] Remove CYGWIN condition to provide bswap16 fallback (#383) --- src/modbus-data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modbus-data.c b/src/modbus-data.c index 916a501..38ff5c1 100644 --- a/src/modbus-data.c +++ b/src/modbus-data.c @@ -54,7 +54,7 @@ # define bswap_16 _byteswap_ushort #endif -#if !defined(__CYGWIN__) && !defined(bswap_16) +#if !defined(bswap_16) # warning "Fallback on C functions for bswap_16" static inline uint16_t bswap_16(uint16_t x) { -- libgit2 0.21.4