diff --git a/Airports/genapt.cxx b/Airports/genapt.cxx index 4ef94cf70..ba5a7ccf1 100644 --- a/Airports/genapt.cxx +++ b/Airports/genapt.cxx @@ -31,6 +31,11 @@ using namespace std; #endif +#ifdef __BORLANDC__ +# define exception c_exception +#endif +#include + #include // #include #include @@ -285,6 +290,9 @@ fgAptGenerate(const string& path, fgTILE *tile) // $Log$ +// Revision 1.11 1998/11/23 21:48:09 curt +// Borland portability tweaks. +// // Revision 1.10 1998/11/07 19:07:06 curt // Enable release builds using the --without-logging option to the configure // script. Also a couple log message cleanups, plus some C to C++ comment diff --git a/Airports/genapt.hxx b/Airports/genapt.hxx index 68a629115..964722f94 100644 --- a/Airports/genapt.hxx +++ b/Airports/genapt.hxx @@ -40,6 +40,10 @@ using namespace std; #endif +#ifdef __BORLANDC__ +# define exception c_exception +#endif + #include @@ -61,6 +65,9 @@ fgAptGenerate(const string& path, fgTILE *tile); // $Log$ +// Revision 1.2 1998/11/23 21:48:10 curt +// Borland portability tweaks. +// // Revision 1.1 1998/09/14 02:14:01 curt // Initial revision of genapt.[ch]xx for generating airport scenery. // diff --git a/Astro/celestialBody.cxx b/Astro/celestialBody.cxx index baa0646c9..72bb6359a 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 864e090ad..a61a25d39 100644 --- a/Astro/celestialBody.hxx +++ b/Astro/celestialBody.hxx @@ -32,9 +32,6 @@ #endif -#include -#include - #include