Update of /cvsroot/perl-win32-gui/Win32-GUI
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22305

Modified Files:
        GUI.h 
Log Message:
Fixed problem with logic for determining MinGW win32api version

Index: GUI.h
===================================================================
RCS file: /cvsroot/perl-win32-gui/Win32-GUI/GUI.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** GUI.h       5 Oct 2005 22:20:48 -0000       1.20
--- GUI.h       6 Oct 2005 21:27:40 -0000       1.21
***************
*** 694,698 ****
    // version 3.2 and higher:
    #include <w32api.h> // to get w32api package version
!   #if (__W32API_MAJOR_VERSION < 3) && (__W32API_MINOR_VERSION < 2)
      #define W32G_BROKENW32API
    #endif
--- 694,698 ----
    // version 3.2 and higher:
    #include <w32api.h> // to get w32api package version
!   #if (__W32API_MAJOR_VERSION < 3) || ((__W32API_MAJOR_VERSION == 3) && 
(__W32API_MINOR_VERSION < 2))
      #define W32G_BROKENW32API
    #endif
***************
*** 758,762 ****
      #define TBSTATE_ELLIPSES  0x40
    #endif
!   HIMAGELIST  WINAPI ImageList_Duplicate(HIMAGELIST himl);
    #ifndef MCM_GETUNICODEFORMAT
      #define MCM_GETUNICODEFORMAT     CCM_GETUNICODEFORMAT
--- 758,762 ----
      #define TBSTATE_ELLIPSES  0x40
    #endif
!   HIMAGELIST  WINAPI ImageList_Duplicate(HIMAGELIST himl); //TODO: remove?
    #ifndef MCM_GETUNICODEFORMAT
      #define MCM_GETUNICODEFORMAT     CCM_GETUNICODEFORMAT


Reply via email to