Forgive any duplications. Had some problems with a firewall...;-)
On 4 Oct 2001 at 12:27, the Illustrious Danny Smith wrote:
> --- Wizord <wizord@...> wrote: > Hello, all.
> > I've found the winnt.h header file on MinGW lacks the following
> > constant
> > defines:
> > #define PF_FLOATING_POINT_PRECISION_ERRATA 0
> > #define PF_FLOATING_POINT_EMULATED 1
> > #define PF_COMPARE_EXCHANGE_DOUBLE 2
> > #define PF_MMX_INSTRUCTIONS_AVAILABLE 3
> > #define PF_PPC_MOVEMEM_64BIT_OK 4
> > #define PF_ALPHA_BYTE_INSTRUCTIONS 5
> > #define PF_XMMI_INSTRUCTIONS_AVAILABLE 6
> > #define PF_AMD3D_INSTRUCTIONS_AVAILABLE 7
> > These constants doesn't appear on MinGW 1.1.
> > I don't know how to send this to the appropriate person, so it would
> > be great if anyone can light me on that.
> I've committed this to SF CVS repository. In future, please submit
> patches to the mingw patch tracker page at SF:
> They may not be processed straight away, but that way, at least, they
> won't get lost :\
Just wanted to say, for the record, that I have no problem implementing these sorts of
things (constants) as they are pretty straight-forward, at least on the surface. Also
"IsProcessorFeature()" is an NT4/Win2k(?)/XP specific api call and won't work for Me/Win9x
systems since they have no such api call. At least they didn't last time I checked.
In this case I would simply add the constants directly to the winnt.h file. I become
concerned, however, when I am asked to implement complete api calls such as