Re: [AD] GDI patch merge & status of Mingw32 port.

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


On Sun, 04 Mar 2001, Henrik Stokseth wrote:

Here's a proposed fix for the warnings i mentioned. In
include/allegro/aintwin.h line 38, insert the following:

   /* workaround for buggy mingw32 headers */
   #ifdef ALLEGRO_MINGW32
      #ifndef HMONITOR_DECLARED
        #define HMONITOR_DECLARED
      #endif
      #ifdef _HRESULT_DEFINED
        #undef  WINNT
      #endif
   #endif

somebody look over it and put it in the repository if it doesn't break
anything...

-- 
Sincerely Henrik Stokseth.
----------------------------------------------------------------------------
"Linux is keyboard friendly. I don't smash it like I used to with Windows."
Homepage: http://hstokset.n3.net  E-mail: hstokset@xxxxxxxxxx



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