Borland portability tweaks.

This commit is contained in:
curt 1998-11-23 21:48:09 +00:00 committed by Tim Moore
parent 8b1784e0d9
commit 663964d94c
13 changed files with 68 additions and 3 deletions

View File

@ -27,6 +27,11 @@
#include "star.hxx"
#include <Debug/logstream.hxx>
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
/**************************************************************************
* void CelestialBody::updatePosition(fgTIME *t, Star *ourSun)
*

View File

@ -32,9 +32,6 @@
#endif
#include <stdio.h>
#include <math.h>
#include <Time/fg_time.hxx>
#include <Include/fg_constants.h>

View File

@ -23,6 +23,12 @@
* (Log is kept at end of this file)
**************************************************************************/
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
#include "jupiter.hxx"
/*************************************************************************

View File

@ -22,6 +22,12 @@
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
#include "mars.hxx"
/*************************************************************************

View File

@ -22,6 +22,12 @@
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
#include "mercury.hxx"
/*************************************************************************

View File

@ -29,6 +29,12 @@
#include <Debug/logstream.hxx>
#include <Objects/texload.h>
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
static GLuint moon_texid;
static GLubyte *moon_texbuf;

View File

@ -23,6 +23,11 @@
* (Log is kept at end of this file)
**************************************************************************/
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
#include "neptune.hxx"
/*************************************************************************

View File

@ -22,6 +22,12 @@
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
#include "saturn.hxx"
/*************************************************************************

View File

@ -31,6 +31,12 @@
# include <windows.h>
#endif
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
#include <GL/glut.h>
#include <XGL/xgl.h>
#include <Debug/logstream.hxx>

View File

@ -22,6 +22,12 @@
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
#include "star.hxx"
/*************************************************************************

View File

@ -31,6 +31,7 @@
# include <windows.h>
#endif
#include <math.h>
#include <stdio.h>
#include <string.h>
@ -255,6 +256,9 @@ void fgStarsRender( void ) {
// $Log$
// Revision 1.23 1998/11/23 21:48:28 curt
// Borland portability tweaks.
//
// Revision 1.22 1998/11/07 19:07:07 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

View File

@ -22,6 +22,12 @@
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
#include "uranus.hxx"
/*************************************************************************

View File

@ -22,6 +22,12 @@
* $Id$
* (Log is kept at end of this file)
**************************************************************************/
#ifdef __BORLANDC__
# define exception c_exception
#endif
#include <math.h>
#include "venus.hxx"
/*************************************************************************