Further refinement of the Cygwin problem as suggested by Frederic.

This commit is contained in:
ehofman
2004-03-16 09:39:22 +00:00
parent 5d813aa4d0
commit 3f08d9604e
2 changed files with 3 additions and 14 deletions

View File

@@ -48,17 +48,11 @@ OpenGL(TM) is a trademark of Silicon Graphics, Inc.
# include <simgear_config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include "glut_shapes.h"
#include <math.h>
#include <GL/glu.h>
#include "glut_shapes.h"
/* Some <math.h> files do not define M_PI... */
#ifndef M_PI

View File

@@ -6,17 +6,12 @@
# include <simgear_config.h>
#endif
#ifdef HAVE_WINDOWS_H
# include <windows.h>
#endif
#include <GL/gl.h>
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
# include <windows.h>
#endif
#include <GL/gl.h>
#ifdef __cplusplus
extern "C" {
#endif