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 [EMAIL PROTECTED] .
-- 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/