Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"

Fixed a bug when generating sky colors.
This commit is contained in:
curt
2009-09-15 18:31:29 +02:00
committed by Tim Moore
parent 2dd9bcbd50
commit 7710f8f076
8 changed files with 103 additions and 39 deletions
+10 -4
View File
@@ -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.
*