|
@@ -38,7 +38,7 @@ struct timeval {
|
|
|
};
|
|
|
#endif /* _TIMEVAL_DEFINED */
|
|
|
|
|
|
-#if !defined __GNUC__ && !defined __ICCARM__
|
|
|
+#if !(defined(__GNUC__) && !defined(__ARMCC_VERSION)) && !defined (__ICCARM__)
|
|
|
struct timespec {
|
|
|
time_t tv_sec; /* seconds */
|
|
|
long tv_nsec; /* and nanoseconds */
|