This is the mail archive of the cygwin-patches@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: qt patch for winnt.h


Ralf Habacker wrote:
> 
> The problem with the current implemantation is, that there is no way to hide the
> HANDLE definition and I can't see why an implementation in the following manner
> 

The problem is your problem, not mine or Danny's.  You need to not
define HANDLE if _WIN32 or __CYGWIN__ is defined.

> winnt.h
> 
> #ifndef DONT_DEFINE_HANDLE
> typedef void * HANDLE
> #endif
> 
> makes such big problems as Danny stated.
> 
> It is compatible to the current header, but pave the way for an official qt/x11
> release (or do you expect that trolltech would change their definitions of the
> x11 HANDLE type only based on the fact that this is a precedent ?)
> 

You'll have to fix qt/x11 to live within W32API not the other way round.

Earnie.


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