diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-02-10 17:27:55 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-02-10 17:27:55 +0000 |
commit | 3d41d5ade74fd6a742139544a8a9ed54b0f5ba83 (patch) | |
tree | 1e83b8928cd3ce6507aede3e464e5af8ee83f560 /include/GL/gl.h | |
parent | 9f037fdc72d7d4cf9a3185ee631c9b0e80ab5e42 (diff) |
added GLCALLBACKPCAST for Cygnus (Sven Panne)
Diffstat (limited to 'include/GL/gl.h')
-rw-r--r-- | include/GL/gl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h index 9cde2af134..fe669bb511 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 */ |