feat(time): enable the macro timeradd, timersub, timerclear, etc.

TW#14488

Closes https://github.com/espressif/esp-idf/issues/867
This commit is contained in:
michael 2017-08-30 12:34:07 +08:00
parent ef60d73fe4
commit 8f994b9dce

View file

@ -20,7 +20,7 @@ struct timeval {
};
/* BSD time macros used by RTEMS code */
#if defined (__rtems__) || defined (__CYGWIN__)
#if defined (__rtems__) || defined (__CYGWIN__) || defined(__XTENSA__)
/* Convenience macros for operations on timevals.
NOTE: `timercmp' does not work for >= or <=. */