This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]