[AD] [WIN] HMONITOR_DECLARED

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Seems like mingw32 winapi creators have dinally decided (in their
latest WINAPI released from yesterday) to include a
#define HMONITOR_DECLARED
the bad thing is that they have made if 
#define HMONITOR_DECLARED 1


so, when it gets to almng32.h, and executes this (since this headers gets
processed before windef.h...)
/* defined in windef.h */
#ifndef HMONITOR_DECLARED
        #define HMONITOR_DECLARED
#endif

i get lots and lots and lots of redefinitions of HMONITOR_DECLARED

my proposed fix is to change almng32.h line
        #define HMONITOR_DECLARED
to
        #define HMONITOR_DECLARED 1

like new mingw32 winapi have
it wont break old versions and will save new versions

what do you think?
if you agree, edit your file and commit, it's not that difficult ;)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/