From 3d41d5ade74fd6a742139544a8a9ed54b0f5ba83 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 10 Feb 2000 17:27:55 +0000 Subject: [PATCH] added GLCALLBACKPCAST for Cygnus (Sven Panne) --- include/GL/gl.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 */ -- 2.30.2