Borland portability tweaks.

This commit is contained in:
curt
2009-09-15 18:31:31 +02:00
committed by Tim Moore
parent 8b1784e0d9
commit 663964d94c
13 changed files with 68 additions and 3 deletions
+5
View File
@@ -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)
* *
-3
View File
@@ -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>
+6
View File
@@ -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"
/************************************************************************* /*************************************************************************
+6
View File
@@ -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"
/************************************************************************* /*************************************************************************
+6
View File
@@ -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"
/************************************************************************* /*************************************************************************
+6
View File
@@ -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;
+5
View File
@@ -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"
/************************************************************************* /*************************************************************************
+6
View File
@@ -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"
/************************************************************************* /*************************************************************************
+6
View File
@@ -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>
+6
View File
@@ -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"
/************************************************************************* /*************************************************************************
+4
View File
@@ -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
+6
View File
@@ -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"
/************************************************************************* /*************************************************************************
+6
View File
@@ -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"
/************************************************************************* /*************************************************************************