Cygwin patch from Patrick Staehlin:
To compile the development CVS version of FlightGear(0.9.0) i had to apply some small changes to SimGear and FlightGear. The changes need probably some additional ifdefs for other platforms but since my linux-hd crashed i can't verify that.
This commit is contained in:
@@ -28,14 +28,12 @@
|
|||||||
|
|
||||||
// warning for truncation of template name for browse info
|
// warning for truncation of template name for browse info
|
||||||
// #pragma warning( disable : 4786)
|
// #pragma warning( disable : 4786)
|
||||||
|
|
||||||
#include "SkySingleton.hpp"
|
#include "SkySingleton.hpp"
|
||||||
|
#include "compiler.h"
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include "compiler.h"
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
# include "extgl.h"
|
# include "extgl.h"
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -25,6 +25,10 @@
|
|||||||
|
|
||||||
// #pragma warning( disable : 4786 )
|
// #pragma warning( disable : 4786 )
|
||||||
|
|
||||||
|
#define __glext_h_
|
||||||
|
#define __GLEXT_H_
|
||||||
|
#define __glext_h_
|
||||||
|
#define __GLEXT_H_
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
#include "SkyTextureState.hpp"
|
#include "SkyTextureState.hpp"
|
||||||
//#include "glvu.hpp"
|
//#include "glvu.hpp"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Static initializations.
|
// Static initializations.
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -24,6 +24,12 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define __glext_h_
|
||||||
|
#define __GLEXT_H_
|
||||||
|
|
||||||
|
#define __glext_h_
|
||||||
|
#define __GLEXT_H_
|
||||||
|
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
|
||||||
#ifndef APIENTRY
|
#ifndef APIENTRY
|
||||||
|
|||||||
Reference in New Issue
Block a user