Improve ABS() macro

This commit is contained in:
Zeex
2018-09-07 00:01:32 +06:00
parent 6cc020b2fd
commit f348fb52a8

View File

@@ -50,7 +50,7 @@
#include <stdint.h>
#endif
#define ABS(x) ((x) > 0 ? (x) : (-(x)))
#define ABS(x) ((x) >= 0 ? (x) : -(x))
#define MAX_INSN_LEN 15 /* maximum length of x86 instruction */
#define JMP_OPCODE 0xE9