commit | 0148b043b71b3d0086356c57f7ad421c5f696f7c | [log] [tgz] |
---|---|---|
author | Pb <scandium@me.com> | Tue Nov 10 23:06:20 2015 +0100 |
committer | Pb <scandium@me.com> | Tue Nov 10 23:06:20 2015 +0100 |
tree | b185ef477016d316b4ed5377a593aafaa8a279a0 | |
parent | b8741bd5453dbedc845d027a93e1dab02c9a143a [diff] |
Fix instruction size define
diff --git a/cs.c b/cs.c index 574b52f..b824b10 100644 --- a/cs.c +++ b/cs.c
@@ -17,7 +17,7 @@ #include "utils.h" #include "MCRegisterInfo.h" -#ifdef CAPSTONE_USE_SYS_DYN_MEM +#if !defined(CAPSTONE_HAS_OSXKERNEL) && !defined(CAPSTONE_DIET) #define INSN_CACHE_SIZE 32 #else // reduce stack variable size for kernel/firmware