Alexandre Julliard wrote:
> David Elliott <[EMAIL PROTECTED]> writes:
>
> > You should definitely revive it IMHO. Alexandre has said himself that it is
> > inappropriate for C library headers to #include windef.h. The most reasonable
> > way to do this is to seperate all of the Windows compiler definitions into a new
> > include file or to seperate them out into several new include files. At the very
> > least the C headers themselves need __cdecl defined correctly so it definitely
> > makes sense to seperate that out.
>
> If all you need is __cdecl, I'd suggest a simple #define __cdecl /*nothing*/
> in the msvcrt headers, instead of adding yet another Wine internal
> include. I'm not completely opposed to having a wine/winedef.h file,
> if it's really necessary; but so far it doesn't seem to be.
>
Seeing as how __cdecl is after all the default and therefore doesn't absolutely need
to even be specified I will just not specify it.
However, defining __cdecl to nothing would cause problems because a program may
include both a windows header and a C library header and therefore you would receive
redefinition warnings when compiling.
I'll just leave out the __cdecl altogether then, it's a Microsoft-ism and isn't needed
on a real compiler anyway.
-Dave