Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
Fixed a bug when generating sky colors.
This commit is contained in:
+10
-4
@@ -23,7 +23,9 @@
|
||||
**************************************************************************/
|
||||
|
||||
|
||||
#include <config.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
@@ -31,7 +33,7 @@
|
||||
#include <Debug/fg_debug.h>
|
||||
#include <Include/fg_constants.h>
|
||||
#include <Include/general.h>
|
||||
#include <Time/fg_time.h>
|
||||
#include <Time/fg_time.hxx>
|
||||
|
||||
#include "orbits.hxx"
|
||||
|
||||
@@ -168,9 +170,13 @@ void fgSolarSystemUpdate(struct OrbElements *planet, struct fgTIME t)
|
||||
|
||||
|
||||
/* $Log$
|
||||
/* Revision 1.1 1998/04/22 13:21:29 curt
|
||||
/* C++ - ifing the code a bit.
|
||||
/* Revision 1.2 1998/04/24 00:45:01 curt
|
||||
/* Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
|
||||
/* Fixed a bug when generating sky colors.
|
||||
/*
|
||||
* Revision 1.1 1998/04/22 13:21:29 curt
|
||||
* C++ - ifing the code a bit.
|
||||
*
|
||||
* Revision 1.10 1998/04/18 04:13:57 curt
|
||||
* Moved fg_debug.c to it's own library.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user