From: Brian Paul Date: Thu, 10 Feb 2000 17:27:55 +0000 (+0000) Subject: added GLCALLBACKPCAST for Cygnus (Sven Panne) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d41d5ade74fd6a742139544a8a9ed54b0f5ba83;p=mesa.git added GLCALLBACKPCAST for Cygnus (Sven Panne) --- 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 */