From 4ba2cc293fbb658453fbc6c48153785eb0fa56c0 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Sun, 10 Mar 2019 15:24:09 -0400 Subject: [PATCH] PDP10: Added compile time removal of AUXCPU. --- PDP10/ka10_auxcpu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PDP10/ka10_auxcpu.c b/PDP10/ka10_auxcpu.c index 9346fae..bf20c55 100644 --- a/PDP10/ka10_auxcpu.c +++ b/PDP10/ka10_auxcpu.c @@ -26,6 +26,11 @@ #include "ka10_defs.h" #include "sim_tmxr.h" +#ifndef NUM_DEVS_AUXCPU +#define NUM_DEVS_AUXCPU 0 +#endif + +#if NUM_DEVS_AUXCPU > 0 #include #include #include @@ -389,3 +394,4 @@ t_stat auxcpu_devio(uint32 dev, uint64 *data) return SCPE_OK; } +#endif