diff options
Diffstat (limited to 'src/common.hff')
| -rw-r--r-- | src/common.hff | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.hff b/src/common.hff index fe90e09..02859f8 100644 --- a/src/common.hff +++ b/src/common.hff @@ -40,6 +40,8 @@ defmacro with_tmpchange(var,x,...body) [ (var) = $tmp; } ] +defmacro MAX(a,b) [((a) > (b) ? (a) : (b))] + // Inline functions fn bswap32(x u32) u32 { return (x >> 24) |