Using Wine headers on Mac OS X

Robert Shearman rob at
Tue Jan 16 14:33:36 CST 2007

Mike wrote:
> Hi.
> I know this is unsupported but I am trying to use the Wine windows 
> headers to port some Windows code to Mac OS X. I'm not really trying 
> to use the Wine functionality - I use the headers more to define and 
> map the existing Win32 defines, and datatypes to Mac OS so that I can 
> make as few changes to the Windows code I am porting as possible.
> My big question is: when I add the Wine headers to my project, it 
> seems that every datatype in the wine headers is undefined. I noticed 
> that most wine headers don't have any #includes in them.
> is there some precompiled or metaheader that I should be including in 
> all of the wine files in order to get the compiler to see the data types?

I'm not quite sure which data types you mean, but it sounds as though 
the only header file you want to include is windef.h.

Rob Shearman

More information about the wine-devel mailing list