Borland portability tweaks.
This commit is contained in:
@@ -27,6 +27,11 @@
|
|||||||
#include "star.hxx"
|
#include "star.hxx"
|
||||||
#include <Debug/logstream.hxx>
|
#include <Debug/logstream.hxx>
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* void CelestialBody::updatePosition(fgTIME *t, Star *ourSun)
|
* void CelestialBody::updatePosition(fgTIME *t, Star *ourSun)
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -32,9 +32,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <math.h>
|
|
||||||
|
|
||||||
#include <Time/fg_time.hxx>
|
#include <Time/fg_time.hxx>
|
||||||
#include <Include/fg_constants.h>
|
#include <Include/fg_constants.h>
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,12 @@
|
|||||||
* (Log is kept at end of this file)
|
* (Log is kept at end of this file)
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "jupiter.hxx"
|
#include "jupiter.hxx"
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|||||||
@@ -22,6 +22,12 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
* (Log is kept at end of this file)
|
* (Log is kept at end of this file)
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "mars.hxx"
|
#include "mars.hxx"
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|||||||
@@ -22,6 +22,12 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
* (Log is kept at end of this file)
|
* (Log is kept at end of this file)
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "mercury.hxx"
|
#include "mercury.hxx"
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|||||||
@@ -29,6 +29,12 @@
|
|||||||
#include <Debug/logstream.hxx>
|
#include <Debug/logstream.hxx>
|
||||||
#include <Objects/texload.h>
|
#include <Objects/texload.h>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
static GLuint moon_texid;
|
static GLuint moon_texid;
|
||||||
static GLubyte *moon_texbuf;
|
static GLubyte *moon_texbuf;
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,11 @@
|
|||||||
* (Log is kept at end of this file)
|
* (Log is kept at end of this file)
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "neptune.hxx"
|
#include "neptune.hxx"
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|||||||
@@ -22,6 +22,12 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
* (Log is kept at end of this file)
|
* (Log is kept at end of this file)
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "saturn.hxx"
|
#include "saturn.hxx"
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|||||||
@@ -31,6 +31,12 @@
|
|||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
#include <XGL/xgl.h>
|
#include <XGL/xgl.h>
|
||||||
#include <Debug/logstream.hxx>
|
#include <Debug/logstream.hxx>
|
||||||
|
|||||||
@@ -22,6 +22,12 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
* (Log is kept at end of this file)
|
* (Log is kept at end of this file)
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "star.hxx"
|
#include "star.hxx"
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -255,6 +256,9 @@ void fgStarsRender( void ) {
|
|||||||
|
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.23 1998/11/23 21:48:28 curt
|
||||||
|
// Borland portability tweaks.
|
||||||
|
//
|
||||||
// Revision 1.22 1998/11/07 19:07:07 curt
|
// Revision 1.22 1998/11/07 19:07:07 curt
|
||||||
// Enable release builds using the --without-logging option to the configure
|
// Enable release builds using the --without-logging option to the configure
|
||||||
// script. Also a couple log message cleanups, plus some C to C++ comment
|
// script. Also a couple log message cleanups, plus some C to C++ comment
|
||||||
|
|||||||
@@ -22,6 +22,12 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
* (Log is kept at end of this file)
|
* (Log is kept at end of this file)
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "uranus.hxx"
|
#include "uranus.hxx"
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|||||||
@@ -22,6 +22,12 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
* (Log is kept at end of this file)
|
* (Log is kept at end of this file)
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# define exception c_exception
|
||||||
|
#endif
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#include "venus.hxx"
|
#include "venus.hxx"
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user