This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Header problem with OGL on Cygwin
- From: Andre Bleau <bleau at igb dot umontreal dot ca>
- To: cygwin at cygwin dot com
- Date: Tue, 18 Mar 2003 11:52:41 -0500
- Subject: Re: Header problem with OGL on Cygwin
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 at cygwin dot 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/