Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc. http://www.blynk.cc/

Dependents:   Blynk_RBL_BLE_Nano Blynk_MicroBit Blynk_Serial Blynk_RBL_BLE_Nano

Revision:
19:bae78e167b11
Parent:
16:6d9bf99b263c
--- a/Blynk/BlynkProtocolDefs.h	Wed Nov 29 14:05:41 2017 +0200
+++ b/Blynk/BlynkProtocolDefs.h	Fri Dec 15 00:17:41 2017 +0200
@@ -93,7 +93,7 @@
 }
 BLYNK_ATTR_PACKED;
 
-#if !defined(ESP32) && (defined(ARDUINO) || defined(ESP8266) || defined(PARTICLE) || defined(__MBED__))
+#if !defined(htons) && (defined(ARDUINO) || defined(ESP8266) || defined(PARTICLE) || defined(__MBED__))
     #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
         #define htons(x) ( ((x)<<8) | (((x)>>8)&0xFF) )
         #define htonl(x) ( ((x)<<24 & 0xFF000000UL) | \