diff --git a/src/include/86box/machine.h b/src/include/86box/machine.h index d5bfcd5e3..9183fe2ba 100644 --- a/src/include/86box/machine.h +++ b/src/include/86box/machine.h @@ -503,7 +503,9 @@ extern int machine_xt_jukopc_init(const machine_t *); extern int machine_xt_open_xt_init(const machine_t *); extern int machine_xt_pxxt_init(const machine_t *); -extern int machine_xt_hed919_init(const machine_t *); +#if defined(DEV_BRANCH) && defined(USE_HEDAKA) +extern int machine_xt_hed919_init(const machine_t *); +#endif /* m_xt_compaq.c */ extern int machine_xt_compaq_init(const machine_t *); diff --git a/src/machine/m_xt.c b/src/machine/m_xt.c index 2f55040e6..1e7be72e8 100644 --- a/src/machine/m_xt.c +++ b/src/machine/m_xt.c @@ -254,6 +254,8 @@ machine_xt_open_xt_init(const machine_t *model) return ret; } + +#if defined(DEV_BRANCH) && defined(USE_HEDAKA) int machine_xt_hed919_init(const machine_t *model) { @@ -272,6 +274,8 @@ machine_xt_hed919_init(const machine_t *model) return ret; } +#endif + int machine_xt_pxxt_init(const machine_t *model) diff --git a/src/machine/machine_table.c b/src/machine/machine_table.c index 916accaf1..da67a0b44 100644 --- a/src/machine/machine_table.c +++ b/src/machine/machine_table.c @@ -123,7 +123,9 @@ const machine_t machines[] = { #endif /* 286 XT machines */ +#if defined(DEV_BRANCH) && defined(USE_HEDAKA) { "[Citygate D30 XT] Hedaka HED-919", "hed919", MACHINE_TYPE_286, {{"", cpus_286}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA, 64, 1024, 64, 0, machine_xt_hed919_init, NULL }, +#endif /* 286 AT machines */ { "[ISA] IBM AT", "ibmat", MACHINE_TYPE_286, {{"", cpus_ibmat}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_ISA | MACHINE_AT, 256,15872, 128, 63, machine_at_ibm_init, NULL },