From 663964d94cc281ee6e2890b4ffac1c50414b61ba Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 23 Nov 1998 21:48:09 +0000 Subject: [PATCH] Borland portability tweaks. --- Astro/celestialBody.cxx | 5 +++++ Astro/celestialBody.hxx | 3 --- Astro/jupiter.cxx | 6 ++++++ Astro/mars.cxx | 6 ++++++ Astro/mercury.cxx | 6 ++++++ Astro/moon.cxx | 6 ++++++ Astro/neptune.cxx | 5 +++++ Astro/saturn.cxx | 6 ++++++ Astro/solarsystem.cxx | 6 ++++++ Astro/star.cxx | 6 ++++++ Astro/stars.cxx | 4 ++++ Astro/uranus.cxx | 6 ++++++ Astro/venus.cxx | 6 ++++++ 13 files changed, 68 insertions(+), 3 deletions(-) diff --git a/Astro/celestialBody.cxx b/Astro/celestialBody.cxx index baa0646c..72bb6359 100644 --- a/Astro/celestialBody.cxx +++ b/Astro/celestialBody.cxx @@ -27,6 +27,11 @@ #include "star.hxx" #include +#ifdef __BORLANDC__ +# define exception c_exception +#endif +#include + /************************************************************************** * void CelestialBody::updatePosition(fgTIME *t, Star *ourSun) * diff --git a/Astro/celestialBody.hxx b/Astro/celestialBody.hxx index 864e090a..a61a25d3 100644 --- a/Astro/celestialBody.hxx +++ b/Astro/celestialBody.hxx @@ -32,9 +32,6 @@ #endif -#include -#include - #include