Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: Header problem with OGL on Cygwin Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed 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 Content-Transfer-Encoding: 8bit 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 */ >#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/