Skip to content

Commit c92fba3

Browse files
committed
Merge branch 'feature/timeradd' into 'master'
feat(time): enable the macro timeradd, timersub, timerclear, etc. See merge request !1177
2 parents 0a5a705 + 8f994b9 commit c92fba3

File tree

1 file changed

+1
-1
lines changed
  • components/newlib/include/sys

1 file changed

+1
-1
lines changed

components/newlib/include/sys/time.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct timeval {
2020
};
2121

2222
/* BSD time macros used by RTEMS code */
23-
#if defined (__rtems__) || defined (__CYGWIN__)
23+
#if defined (__rtems__) || defined (__CYGWIN__) || defined(__XTENSA__)
2424

2525
/* Convenience macros for operations on timevals.
2626
NOTE: `timercmp' does not work for >= or <=. */

0 commit comments

Comments
 (0)