NOOP macro for do-nothing macros
This commit is contained in:
parent
c2145566c7
commit
c6f1337f5c
2 changed files with 4 additions and 2 deletions
|
|
@ -60,4 +60,6 @@
|
|||
#define PENDING(NOW,SOON) ((long)(NOW-(SOON))<0)
|
||||
#define ELAPSED(NOW,SOON) (!PENDING(NOW,SOON))
|
||||
|
||||
#define NOOP do{}while(0)
|
||||
|
||||
#endif //__MACROS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue