From: David D. Zuhn Date: Wed, 6 Jan 1993 10:30:22 +0000 (+0000) Subject: handle machines other than DOS & Sun X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71f555668692b85e088bce62a0d9931cc8ca842f;p=binutils-gdb.git handle machines other than DOS & Sun --- diff --git a/gdb/29k-share/udi/udiphcfg.h b/gdb/29k-share/udi/udiphcfg.h index 508e04196ea..8a7b7f0d7f6 100644 --- a/gdb/29k-share/udi/udiphcfg.h +++ b/gdb/29k-share/udi/udiphcfg.h @@ -1,11 +1,19 @@ /* This file just picks the correct udiphxxx.h depending on the host */ /* The two hosts that are now defined are SUN and MSDOS */ -#ifdef sun -#include "udiphsun.h" -#endif +/* The way this now works, all machines other than DOS are considered to + be Sun-like. This is known to work for HP700's. If this doesn't work + for some host, create an alternative udiphXXX.h file. + + This scheme for determining which file to include is *ugly* and should be + fixed at some later date. -- zoo - 930106 +*/ #ifdef MSDOS +#define CONFIG_INCLUDED #include "udiphdos.h" #endif +#ifndef CONFIG_INCLUDED +#include "udiphsun.h" +#endif