summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-05-22 19:41:34 +0000
committerBrian Paul <[email protected]>2000-05-22 19:41:34 +0000
commitdf54463363729a25a7c11739d3b09f5a1e3083ef (patch)
tree4178b71e6df7e0c8d6756ef3897016d7a150dfbc /src
parent8da58f31846bd119070af78fac340a3e5da4f056 (diff)
replaced __CYGWIN32__ with __CYGWIN__, misc clean-up
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/glheader.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 4e65d63d365..e80c548eab3 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -1,4 +1,4 @@
-/* $Id: glheader.h,v 1.8 2000/05/22 16:30:47 brianp Exp $ */
+/* $Id: glheader.h,v 1.9 2000/05/22 19:41:34 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -64,14 +64,9 @@
#endif
/* Make sure we include glext.h */
-#if 0
-#define GL_GLEXT_LEGACY
-#include "GL/gl.h"
-#include "glext_proto.h"
-#else
#include "GL/gl.h"
#include "GL/glext.h"
-#endif
+
/*
@@ -90,7 +85,7 @@
# define __WIN32__
#endif
-#if !defined(OPENSTEP) && (defined(__WIN32__) || defined(__CYGWIN32__))
+#if !defined(OPENSTEP) && (defined(__WIN32__) || defined(__CYGWIN__))
# pragma warning( disable : 4068 ) /* unknown pragma */
# pragma warning( disable : 4710 ) /* function 'foo' not inlined */
# pragma warning( disable : 4711 ) /* function 'foo' selected for automatic inline expansion */
@@ -116,7 +111,7 @@
# define GLAPIENTRYP __stdcall *
# define GLCALLBACK __stdcall
# define GLCALLBACKP __stdcall *
-# if defined(__CYGWIN32__)
+# if defined(__CYGWIN__)
# define GLCALLBACKPCAST *
# else
# define GLCALLBACKPCAST __stdcall *
@@ -133,7 +128,7 @@
# define GLCALLBACKPCAST *
# define GLWINAPI
# define GLWINAPIV
-#endif /* WIN32 / CYGWIN32 bracket */
+#endif /* WIN32 / CYGWIN bracket */
/* compatability guard so we don't need to change client code */