UIPEthernet library for Arduino IDE, Eclipse with arduino plugin and MBED/SMeshStudio (AVR,STM32F,ESP8266,Intel ARC32,Nordic nRF51,Teensy boards,Realtek Ameba(RTL8195A,RTL8710)), ENC28j60 network chip. Compatible with Wiznet W5100 Ethernet library API. Compiled and tested on Nucleo-F302R8. Master repository is: https://github.com/UIPEthernet/UIPEthernet/

Revision:
33:7ba5d53df0f2
Parent:
19:e416943f7119
--- a/UIPUdp.h	Fri Feb 10 09:10:47 2017 +0100
+++ b/UIPUdp.h	Tue Feb 14 14:16:14 2017 +0100
@@ -23,8 +23,12 @@
 #include "ethernet_comp.h"
 #if defined(ARDUINO)
   #include <Arduino.h>
-  #include "Print.h"
-  #if defined(__STM32F3__) || defined(STM32F3)
+  #if defined(__RFduino__)
+    #include "Print.h"
+  #else
+    #include "Print.h"
+  #endif
+  #if defined(__STM32F3__) || defined(STM32F3) || defined(__RFduino__)
     #include "mbed/Udp.h"
   #else
     #include <Udp.h>
@@ -52,10 +56,10 @@
   bool send;
 } uip_udp_userdata_t;
  
-#if defined(ARDUINO) && !defined(STM32F3)
+#if defined(ARDUINO) && !defined(STM32F3) && !defined(__RFduino__)
   class UIPUDP : public UDP {
 #endif
-#if defined(__MBED__) || defined(STM32F3)
+#if defined(__MBED__) || defined(STM32F3) || defined(__RFduino__)
   class UIPUDP : public Print, public UDP {
 #endif
 private: