Azure IoT common library

Dependents:   STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more

Revision:
18:6d8a413a4d9a
Parent:
12:72001533b0e3
Child:
19:2e0811512ceb
diff -r 9051ba70fc73 -r 6d8a413a4d9a crt_abstractions.c
--- a/crt_abstractions.c	Sun Jan 08 11:12:54 2017 -0800
+++ b/crt_abstractions.c	Fri Jan 13 18:41:15 2017 -0800
@@ -17,7 +17,7 @@
 #include <math.h>
 
 
-#ifdef WINCE
+#if defined (WINCE) || defined (TIZENRT)
 #pragma warning(disable:4756) // warning C4756: overflow in constant arithmetic
 
 // These defines are missing in math.h for WEC2013 SDK
@@ -386,7 +386,6 @@
 /*Codes_SRS_CRT_ABSTRACTIONS_21_024: [If the string is 'NAN' or 'NAN(...)' (ignoring case), the strtof_s must return 0.0f and points endptr to the first character after the 'NAN' sequence.]*/
 /*Codes_SRS_CRT_ABSTRACTIONS_21_033: [If the string is 'INF' of 'INFINITY' (ignoring case), the strtold_s must return the INFINITY value for long double.]*/
 /*Codes_SRS_CRT_ABSTRACTIONS_21_034: [If the string is 'NAN' or 'NAN(...)' (ignoring case), the strtold_s must return 0.0 and points endptr to the first character after the 'NAN' sequence.]*/
-#define TOUPPER(c)      (((c>='a') && (c<='z'))?c-'a'+'A':c)
 static int substricmp(const char* nptr, const char* subsrt)
 {
     int result = 0;