diff options
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h index ed74fcf77..018db2725 100644 --- a/include/global.h +++ b/include/global.h @@ -36,6 +36,12 @@ #define KANA(txt) _(txt) #endif +#define SWAP(x,y,t) {\ + t = x; \ + x = y; \ + y = t; \ +} + // Prevent cross-jump optimization. #define BLOCK_CROSS_JUMP asm(""); |