remove ifndef

This commit is contained in:
HarDToBelieve 2019-02-12 14:05:05 +07:00
parent c7c8658ec8
commit 9a1207dce1
3 changed files with 0 additions and 6 deletions

View File

@ -15,9 +15,7 @@ char *get_detail_sysz(csh *handle, cs_mode mode, cs_insn *ins);
char *get_detail_x86(csh *handle, cs_mode mode, cs_insn *ins); char *get_detail_x86(csh *handle, cs_mode mode, cs_insn *ins);
char *get_detail_xcore(csh *handle, cs_mode mode, cs_insn *ins); char *get_detail_xcore(csh *handle, cs_mode mode, cs_insn *ins);
char *get_detail_m68k(csh *handle, cs_mode mode, cs_insn *ins); char *get_detail_m68k(csh *handle, cs_mode mode, cs_insn *ins);
// #ifndef __APPLE__
char *get_detail_mos65xx(csh *handle, cs_mode mode, cs_insn *ins); char *get_detail_mos65xx(csh *handle, cs_mode mode, cs_insn *ins);
// #endif
char *get_detail_tms320c64x(csh *handle, cs_mode mode, cs_insn *ins); char *get_detail_tms320c64x(csh *handle, cs_mode mode, cs_insn *ins);
#endif /* FACTORY_H */ #endif /* FACTORY_H */

View File

@ -259,11 +259,9 @@ int set_function(int arch)
case CS_ARCH_EVM: case CS_ARCH_EVM:
function = get_detail_evm; function = get_detail_evm;
break; break;
// #ifndef __APPLE__
case CS_ARCH_MOS65XX: case CS_ARCH_MOS65XX:
function = get_detail_mos65xx; function = get_detail_mos65xx;
break; break;
// #endif
case CS_ARCH_TMS320C64X: case CS_ARCH_TMS320C64X:
function = get_detail_tms320c64x; function = get_detail_tms320c64x;
break; break;

View File

@ -1,6 +1,5 @@
#include "factory.h" #include "factory.h"
// #ifndef __APPLE__
static const char *get_am_name(mos65xx_address_mode mode) static const char *get_am_name(mos65xx_address_mode mode)
{ {
switch(mode) { switch(mode) {
@ -75,4 +74,3 @@ char *get_detail_mos65xx(csh *handle, cs_mode mode, cs_insn *ins)
} }
return result; return result;
} }
// #endif