summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-02-10 17:27:55 +0000
committerBrian Paul <[email protected]>2000-02-10 17:27:55 +0000
commit3d41d5ade74fd6a742139544a8a9ed54b0f5ba83 (patch)
tree1e83b8928cd3ce6507aede3e464e5af8ee83f560
parent9f037fdc72d7d4cf9a3185ee631c9b0e80ab5e42 (diff)
added GLCALLBACKPCAST for Cygnus (Sven Panne)
-rw-r--r--include/GL/gl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 9cde2af134c..fe669bb511e 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -1,4 +1,4 @@
-/* $Id: gl.h,v 1.29 2000/02/05 01:51:54 brianp Exp $ */
+/* $Id: gl.h,v 1.30 2000/02/10 17:27:55 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -78,6 +78,11 @@
# define GLAPIENTRYP __stdcall *
# define GLCALLBACK __stdcall
# define GLCALLBACKP __stdcall *
+#if defined(__CYGWIN32__)
+# define GLCALLBACKPCAST *
+#else
+# define GLCALLBACKPCAST __stdcall *
+#endif
# define GLWINAPI __stdcall
# define GLWINAPIV __cdecl
#else
@@ -87,6 +92,7 @@
# define GLAPIENTRYP *
# define GLCALLBACK
# define GLCALLBACKP *
+# define GLCALLBACKPCAST *
# define GLWINAPI
# define GLWINAPIV
#endif /* WIN32 / CYGWIN32 bracket */