← Back to team overview

cuneiform team mailing list archive

Re: Patch to build in MSVC++ 6 and pack mode in cuneiform-cli

 

Afaik this is correct for MSVC, in mingw it's located in windef (also
included via windows header).
For other ms compilers i'm not sure.



2008/12/30 Jussi Pakkanen <jpakkane@xxxxxxxxx>

> On Tue, Dec 30, 2008 at 5:01 PM, Jussi Pakkanen <jpakkane@xxxxxxxxx>
> wrote:
>
> > This would still give errors on every non-windows platform because
> > WORD would be undefined.
> >
> > If it should be defined for all compilers except MSVC 6, should it not
> > be something like
> >
> > #if _MSC_VER < 1201
> > /* Do nothing */
> > #else
> > typedef uint16_t WORD;
> > #endif
>
> In fact, the definition of WORD should be found in windows.h, right?
> So this define would only be needed on non-windows platforms, whereas
> windows ones should instead just include windows.h or some other
> system header that has these. Is this correct? I have very litte
> Windows coding experience.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cuneiform<https://launchpad.net/%7Ecuneiform>
> Post to     : cuneiform@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~cuneiform<https://launchpad.net/%7Ecuneiform>
> More help   : https://help.launchpad.net/ListHelp
>

References