[PATCH] w32api fixes commctrl.h listview

Michael James james.me@gmail.com
Tue Feb 24 23:39:00 GMT 2009

A simple patch. My application was misbehaving only when built with
mingw. It turned out that this incorrect header value was at fault. I
am also submitting this patch to the mingw patch tracker on

Does anyone have an estimate on how long these patches take to be
incorporated into the main repository?

Index: include/commctrl.h
RCS file: /cvs/src/src/winsup/w32api/include/commctrl.h,v
retrieving revision 1.66
diff -r1.66 commctrl.h
< #define LVIF_COLUMNS 256
> #define LVIF_COLUMNS 512
Index: ChangeLog
RCS file: /cvs/src/src/winsup/w32api/ChangeLog,v
retrieving revision 1.986
diff -r1.986 ChangeLog
> 2009-02-24  Michael James  <james.me@gmail.com>
>       * include/commctrl.h (LVIF_COLUMNS): Fix definition.

More information about the Cygwin-patches mailing list