|
@@ -810,8 +810,8 @@ START_TEST(UA_Float_encodeShallWorkOnExample) {
|
|
|
{0x00, 0x00, 0x80, 0x7F}, // INF
|
|
|
{0x00, 0x00, 0x80, 0xFF} // -INF
|
|
|
};
|
|
|
-#ifdef _WIN32
|
|
|
- // on WIN32 -NAN is encoded differently
|
|
|
+#if defined(_WIN32) || defined(__TINYC__)
|
|
|
+ // on WIN32 or TinyCC -NAN is encoded differently
|
|
|
result[4][3] = 127;
|
|
|
#endif
|
|
|
|