Real Time Logic LLC / SharkSSL-Lite

Dependents:   WebSocket-Client-Example SharkMQ-LED-Demo

Files at this revision

API Documentation at this revision

Comitter:
wini
Date:
Mon May 23 13:56:30 2016 +0000
Parent:
0:e0adec41ad6b
Commit message:
Type conflict fix (U8-U32) for latest mbed release.

Changed in this revision

inc/TargConfig.h Show annotated file Show diff for this revision Revisions of this file
--- a/inc/TargConfig.h	Wed Apr 06 00:46:36 2016 +0000
+++ b/inc/TargConfig.h	Mon May 23 13:56:30 2016 +0000
@@ -99,7 +99,12 @@
 #define baFree(m)          free(m)
 #endif
 
-#ifndef __MBED__
+/* Some mbed releases use conflicting types. Undo the two macro
+   definitions commented out below if you get 'undefined' compile
+   errors.
+*/
+/* #ifndef __MBED__ */
+
 #ifndef INTEGRAL_TYPES
 #define INTEGRAL_TYPES
 #if (__STDC_VERSION__ >= 199901L) || defined( __GNUC__)
@@ -123,7 +128,9 @@
 typedef signed   long long S64;
 #endif
 #endif
-#endif
+
+/* #endif */ /* __MBED__ */
+
 typedef U8 BaBool;
 
 #ifdef EXT_SHARK_LIB