wine/tools mingwrap.c

Dimitrie O. Paun dpaun at rogers.com
Thu Dec 12 13:32:38 CST 2002


On December 12, 2002 02:07 pm, Alexandre Julliard wrote:
> IMO our headers should be fixed, they shouldn't have the msvcrt
> prefix.

Fine. What about this:

include/windows.h:#include "msvcrt/excpt.h"

I have a patch removing the msvcrt/ prefix from the msvcrt/*.h files,
but in Wine it's a bit tricky as we want to use some msvcrt, and libc.

We can do this:

#ifndef __WINE__
# include <excpt.h>
#endif

And in the Wine source where we need excpt.h we simply make sure
we do
#include <msvcrt/excpt.h>

Comments?

-- 
Dimi.




More information about the wine-devel mailing list