Header problem with OGL on Cygwin
Andre Bleau
bleau@igb.umontreal.ca
Tue Mar 18 18:46:00 GMT 2003
Paul,
Here is the part of glpng.h that hurts:
>/* XXX This is from Win32's <windef.h> */
>#ifndef APIENTRY
> #if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
> #define APIENTRY __stdcall
> #else
> #define APIENTRY
> #endif
>#endif
Add before it:
#if defined(__CYGWIN__) || defined (__MINGW32__)
#define _STDCALL_SUPPORTED
#endif
You could also compile with -D_STDCALL_SUPPORTED .
André Bleau, Cygwin's OpenGL package maintainer.
email: bleau at igb dot umontreal dot ca
(Fight SPAM: encode your email-address)
Please address all questions and problem reports about Cygwin's OpenGL
package to cygwin@cygwin.com .
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list