| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-Id: | <5.2.0.9.0.20030318114659.0255a088@irispavp.igb.umontreal.ca> |
| X-Sender: | bleau2 AT irispavp DOT igb DOT umontreal DOT ca (Unverified) |
| Date: | Tue, 18 Mar 2003 11:52:41 -0500 |
| To: | cygwin AT cygwin DOT com |
| From: | Andre Bleau <bleau AT igb DOT umontreal DOT ca> |
| Subject: | Re: Header problem with OGL on Cygwin |
| Mime-Version: | 1.0 |
| X-MDRemoteIP: | 10.52.50.2 |
| X-Return-Path: | bleau AT igb DOT umontreal DOT ca |
| X-MDaemon-Deliver-To: | cygwin AT cygwin DOT com |
| Note-from-DJ: | This may be spam |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id h2IGqHB20579 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |