M2XStreamClient fork with a workaround in M2XStreamClient.cpp for the MTS_Wifi_Connect_M2X example.

Dependents:   STM32_MTS_Wifi_Connect_M2X M2X_STM32_MTS_Temp MTS_WiFi_Connect_M2X_Example

Fork of M2XStreamClient by AT&T M2X Team

Files at this revision

API Documentation at this revision

Comitter:
joe_tijerina
Date:
Tue Aug 26 15:20:40 2014 +0000
Parent:
1:cf982472fc7c
Commit message:
Fixed compiler warning (added ifndef MIN to avoid defining duplicate MIN define)

Changed in this revision

M2XStreamClient.h Show annotated file Show diff for this revision Revisions of this file
diff -r cf982472fc7c -r 6fbc104d1321 M2XStreamClient.h
--- a/M2XStreamClient.h	Fri Jul 25 16:29:47 2014 +0000
+++ b/M2XStreamClient.h	Tue Aug 26 15:20:40 2014 +0000
@@ -1,8 +1,8 @@
 #ifndef M2XStreamClient_h
 #define M2XStreamClient_h
-
+#ifndef MIN
 #define MIN(a, b) (((a) > (b))?(b):(a))
-
+#endif
 #define MBED_PLATFORM
 
 #ifdef ARDUINO_PLATFORM