mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 00:18:26 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
15 lines
452 B
C
15 lines
452 B
C
#ifndef TIMERCMP_H
|
|
#define TIMERCMP_H
|
|
|
|
#ifndef timercmp
|
|
/* Taken from sys/time.h on linux. */
|
|
# define timercmp(a, b, CMP) \
|
|
(((a)->tv_sec == (b)->tv_sec) ? \
|
|
((a)->tv_usec CMP (b)->tv_usec) : \
|
|
((a)->tv_sec CMP (b)->tv_sec))
|
|
|
|
# define timerclear(a) ((a)->tv_sec = (a)->tv_usec = 0)
|
|
#endif
|
|
|
|
#endif//TIMERCMP_H
|