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
|
||||
// #pragma warning( disable : 4786)
|
||||
|
||||
#include "SkySingleton.hpp"
|
||||
|
||||
|
||||
#include "compiler.h"
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
|
||||
#include "compiler.h"
|
||||
#ifdef WIN32
|
||||
# include "extgl.h"
|
||||
#else
|
||||
|
||||
@@ -25,6 +25,10 @@
|
||||
|
||||
// #pragma warning( disable : 4786 )
|
||||
|
||||
#define __glext_h_
|
||||
#define __GLEXT_H_
|
||||
#define __glext_h_
|
||||
#define __GLEXT_H_
|
||||
#include <GL/glut.h>
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "SkyTextureState.hpp"
|
||||
//#include "glvu.hpp"
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Static initializations.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -24,6 +24,12 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#define __glext_h_
|
||||
#define __GLEXT_H_
|
||||
|
||||
#define __glext_h_
|
||||
#define __GLEXT_H_
|
||||
|
||||
#include <GL/gl.h>
|
||||
|
||||
#ifndef APIENTRY
|
||||
|
||||
Reference in New Issue
Block a user