qt patch for winnt.h

Earnie Boyd earnie_boyd@yahoo.com
Sat Jul 27 20:45:00 GMT 2002


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.



More information about the Cygwin-patches mailing list