Alexandre Julliard <[EMAIL PROTECTED]> writes:

> David Elliott <[EMAIL PROTECTED]> writes:
>
> > I think it would be reasonable to keep naming the structures with the
> > MSVCRT_ prefix and using a bunch of typedefs to get rid of the prefix
when
> > compiling a winelib program.  Not doing so would make the headers get
> > REALLY messy with MSVCRT_SYMBOL all over the damn place.
>
> I think you want to do the types too, we don't want to pollute the
> namespace of applications with MSVCRT_ types.
>
Okay, will do then.  I assume the name MSVCRT_SYMBOL for the macro is okay.

> > I will put that #define into a seperate header and #include it from all
of the
> > headers.  Then when the change is needed I can change the one header
file and
> > it'll be good to go.  I think I could probably put that in windef.h as I
think
> > most of the headers are including that anyway.
>
> I prefer that you put it in the msvcrt header themselves. windef.h
> must not have anything to do with MSVCRT definitions (and BTW I don't
> think the msvcrt headers should include windef.h at all).
>

Okay, I can understand why not to use windef.h.  But I figured if its a hack
it might as well really be a hack.  I won't use windef.h anymore but will
instead typedef int INT; in the MSVCRT header files.  I think that is the
only definition I wanted anyway.

Sorry about the delay in response, my DNS is not working and doesn't look
like it will be either for a while, so I am reading the archives off the web
and posting with my school account.  So if you reply and send the message to
my school account I'll get it.

-Dave


Reply via email to