diff options
Diffstat (limited to 'c,cc/cond.h')
-rw-r--r-- | c,cc/cond.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/c,cc/cond.h b/c,cc/cond.h new file mode 100644 index 0000000..0d9e572 --- /dev/null +++ b/c,cc/cond.h @@ -0,0 +1,9 @@ +#ifndef _COND_H_ +#define _COND_H_ + + +#define cond(expr, a, b) (expr) ? (a) : (b) + + +#endif /* _COND_H_ */ + |