OSDN Git Service

https://sourceforge.net/tracker/?func=detail&aid=2004630&group_id=2435&atid=102435
[mingw/mingw-org-wsl.git] / ChangeLog
index 198cdf7..945b5f0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,300 @@
+2012-10-21  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       https://sourceforge.net/tracker/?func=detail&aid=2004630&group_id=2435&atid=102435
+
+       * include/ddk/ntddk.h (KeQueryActiveProcessors): New VISTA declaration.
+       * lib/lib32/ddk/ntoskrnl.def: New VISTA import.
+
+2012-10-19  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       https://sourceforge.net/tracker/?func=detail&aid=3554826&group_id=2435&atid=102435
+
+       * include/mswsock.h (WSAPoll): New declaration.
+       * lib/lib32/ws2_32.def (WSAPoll@12): New import.
+
+2012-10-17  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * tests/Makefile.in (libcrt-test-asinh): Add test.
+
+2012-10-17  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       https://sourceforge.net/tracker/index.php?func=detail&aid=2117590&group_id=2435&atid=102435
+
+       * tests/libcrt/test-asinh.c: New file.
+
+2012-10-16  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * include/sdkddkver.h (WINNTVER): New macro.
+       (_WIN32_WINNT): Correct default value based on NTDDI_VERSION.
+       * include/stdio.h (_get_output_format): Base declaration or define on
+       VISTA.
+       (_set_output_format): Ditto.
+       (_get_printf_count_output): Ditto.
+       (_set_printf_count_output): Ditto.
+       * misc/src/libcrt/stdio/pformat.c: Remove needless code since we only
+       care about Windows.
+
+2012-10-08  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       * Makefile.in (dist-mingwrt-src, dist-mingw32-src, dist-wsl-src):
+       Copy top_srcdir to a specific mingw.org-wsl directory.
+
+2012-09-27  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       _USE_32BIT_TIME_T resolution and prepare for release.
+
+       * include/io.h: Add _HAVE_32BIT_TIME_T to filters.
+       * include/sys/stat.h: Ditto.
+       * include/sys/timeb.h: Ditto.
+       * include/sys/types.h: Ditto.
+       * include/wchar.h: Ditto.
+       * include/time.h: Rework _HAVE_32BIT_TIME_T to always use 64bit time_t
+       when not defined.
+       * Makefile.in (extra_OBJECTS): Move to the front of the dependency list.
+       (%.o : %.s): Create rules.
+       * lib/lib32/msvcrt.def.in: Remove needless __MSVCRT_VERSION__ filter
+       and previous endif to continue the previous filter.
+       * NEWS: New file.
+
+2012-09-26  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       Make the changes work.
+
+       * include/sys/stat.h (stat, fstat): Change __NO_INLINE__ filter to
+       _NO_OLDNAMES.
+       (_fstat64i32, _stat64i32): Define to be equal to _fstat64 and _stat64
+       respectively when __NO_INLINE__ is defined.
+       Remove _CRTIMP from declaration due to inline function.
+       (_wstat64i32): Define an inline function or define to _wstat64 since it
+       is missing from libmsvcrt.a.
+       Remove _CRTIMP from declaration due to inline function.
+       (xstat): Remove.
+       * include/commctrl.h (tagTVINSERTSTRUCTA, tagTVINSERTSTRUCTW): Move to
+       after the definition of TVITEMXA and TVITEMXW.
+       (TVINSERTSTRUCT, TV_INSERTSTRUCT): Move UNICODE amp to after the
+       definition of TVINSERTSTRUCTA and TVINSERTSTRUCTW.
+       * include/winuser.h (INPUT_MOUSE, INPUT_KEYBOARD, INPUT_HARDWARE):
+       Move to always define based on assumption of lowest supported OS.
+       These appeared in NT version 4 service pack 3.
+       (tagMOUSEINPUT, tagKEYBDINPUT, tagHARDWAREINPUT, tagINPUT): Ditto.
+       (SendInput): Ditto.
+       * include/time.h (_HAVE_32BIT_TIME_T): New macro stating that
+       msvcrt.dll contains the 32bit time functions.
+       (_USE_32BIT_TIME_T): If set then determine if _HAVE_32BIT_TIME_T is set
+       and use the 32bit time functions else use the 64bit time functions and
+       force datatype conversions.
+       * include/wchar.h: Match stat components to sys/stat.h.
+       * include/string.h (strcasecmp, strncasecmp): When __NO_INLINE__ defined
+       map functions to _stricmp and _strincmp respectfully.
+       * Makefile.in (libws2_32.a): Add src/libws2_32/ws2_32.o symbols to the
+       library.  Override global target with a specific one.
+       (libscrnsavw_a_OBJECTS): Correct typo.
+       (extra_OBJECTS): New variable containing extra objects to build.
+       (libdinput_a_OBJECTS, libdmoguids_a_OBJECTS, libdxguid_a_OBJECTS,
+       libstrmiids_a_OBJECTS, libws2_32_a_OBJECTS): Correctly define targets.
+
+2012-09-21  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       Make the changes work.
+
+       * Makefile.in (ofmt_stub.o): Add stub to libmsvcrt.a through
+       libmsvcr71d.a.
+       (libmoldname*.a): Change the DLLNAME to msvcr*.dll as appropriate.
+       * include/sdkddkver.h (_WARN_DEFAULTS): New macro filter for warning
+       about defaults to enable building binutils.
+       * include/sys/stat.h: Rework structure definitions and declarations to
+       allow building binutils.
+       (_fstat64i32): New inline function.
+       (_stat64i32): Ditto.
+       * include/winsock.h (_WARN_WINSOCK_H): New macro filter for warning
+       about inclusion of winsock.h to allow building binutils.
+
+2012-09-20  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       Redo the filters based on assumptions discussed in mingw-dvlpr list.
+
+       * include/_mingw.h: Remove default setting of __MSVCRT_VERSION__ since
+       it is no longer used.
+       * include/commdlg.h (PRINTDLGEX): Move to below definition of struct.
+       (PrintDlgEx): Move to below function declaration.
+       * include/ctype.h: Add FIXME.
+       * include/lmcons.h: Correct filter syntax.
+       * include/ras.h: Move definitions and declarations based on dependencies
+       of definition order.
+       * include/rpcdce.h: Add comments and remove unintentional filter for
+       UNICODE.
+       * include/sys/stat.h: Remove __MSVCRT_VERSION__ filters.
+       * include/sys/timeb.h: Remove FIXME.
+       * include/sys/utime.h: Ditto.
+       * include/sys/types.h: Clean code for defining time_t and
+       _TIME_T_DEFINED.
+       * include/winbase.h: Correct comment from RC_DEFINED to RC_INVOKED.
+       Add RC_INVOKED guards for SetThreadExecutionState and OpenThread.
+       (EXECUTION_STATE): Move definition to the _WIN32_WINNT_WIN98 guard.
+       * tests/Makefile.in (CFLAGS): Add -DNTDDI_VERSION=0x06010000 to get rid
+       of warnings and for maximum coverage of tests.
+
+2012-09-19  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       Redo the filters based on assumptions discussed in mingw-dvlpr list.
+
+       * include/ddk/atm.h (_mingw.h): Include.
+       * include/ddk/batclass.h: Ditto.
+       * include/ddk/cfg.h: Ditto.
+       * include/ddk/cfgmgr32.h: Ditto.
+       * include/ddk/d4drvif.h: Ditto.
+       * include/ddk/d4iface.h: Ditto.
+       * include/ddk/ddkmapi.h: Ditto.
+       * include/ddk/hidclass.h: Ditto.
+       * include/ddk/hidpi.h: Ditto.
+       * include/ddk/hidsdi.h: Ditto.
+       * include/ddk/hidusage.h: Ditto.
+       * include/ddk/kbdmou.h: Ditto.
+       * include/ddk/mcd.h: Ditto.
+       * include/ddk/miniport.h: Ditto.
+       * include/ddk/minitape.h: Ditto.
+       * include/ddk/mountdev.h: Ditto.
+       * include/ddk/mountmgr.h: Ditto.
+       * include/ddk/ndis.h: Ditto.
+       * include/ddk/ndisguid.h: Ditto.
+       * include/ddk/ndistapi.h: Ditto.
+       * include/ddk/ndiswan.h: Ditto.
+       * include/ddk/netevent.h: Ditto.
+       * include/ddk/netpnp.h: Ditto.
+       * include/ddk/newdev.h: Ditto.
+       * include/ddk/ntapi.h: Ditto.
+       * include/ddk/ntdd8042.h: Ditto.
+       * include/ddk/ntddbeep.h: Ditto.
+       * include/ddk/ntddcdrm.h: Ditto.
+       * include/ddk/ntddcdvd.h: Ditto.
+       * include/ddk/ntddchgr.h: Ditto.
+       * include/ddk/ntdddisk.h: Ditto.
+       * include/ddk/ntddk.h: Ditto.
+       * include/ddk/ntddkbd.h: Ditto.
+       * include/ddk/ntddmou.h: Ditto.
+       * include/ddk/ntddndis.h: Ditto.
+       * include/ddk/ntddpar.h: Ditto.
+       * include/ddk/ntddpcm.h: Ditto.
+       * include/ddk/ntddscsi.h: Ditto.
+       * include/ddk/ntddser.h: Ditto.
+       * include/ddk/ntddstor.h: Ditto.
+       * include/ddk/ntddtape.h: Ditto.
+       * include/ddk/ntddtdi.h: Ditto.
+       * include/ddk/ntddvdeo.h: Ditto.
+       * include/ddk/ntddvol.h: Ditto.
+       * include/ddk/ntifs.h: Ditto.
+       * include/ddk/ntpoapi.h: Ditto.
+       * include/ddk/ntstatus.h: Ditto.
+       * include/ddk/parallel.h: Ditto.
+       * include/ddk/pfhook.h: Ditto.
+       * include/ddk/poclass.h: Ditto.
+       * include/ddk/scsi.h: Ditto.
+       * include/ddk/scsiscan.h: Ditto.
+       * include/ddk/scsiwmi.h: Ditto.
+       * include/ddk/smbus.h: Ditto.
+       * include/ddk/srb.h: Ditto.
+       * include/ddk/storport.h: Ditto.
+       * include/ddk/tdi.h: Ditto.
+       * include/ddk/tdiinfo.h: Ditto.
+       * include/ddk/tdikrnl.h: Ditto.
+       * include/ddk/tdistat.h: Ditto.
+       * include/ddk/tvout.h: Ditto.
+       * include/ddk/upssvc.h: Ditto.
+       * include/ddk/usb.h: Ditto.
+       * include/ddk/usb100.h: Ditto.
+       * include/ddk/usbcamdi.h: Ditto.
+       * include/ddk/usbdi.h: Ditto.
+       * include/ddk/usbioctl.h: Ditto.
+       * include/ddk/usbiodef.h: Ditto.
+       * include/ddk/usbscan.h: Ditto.
+       * include/ddk/usbuser.h: Ditto.
+       * include/ddk/video.h: Ditto.
+       * include/ddk/videoagp.h: Ditto.
+       * include/ddk/win2k.h: Ditto.
+       * include/ddk/winddi.h: Ditto.
+       * include/ddk/winddk.h: Ditto.
+       * include/ddk/winnt4.h: Ditto.
+       * include/ddk/winxp.h: Ditto.
+       * include/ddk/ws2san.h: Ditto.
+       * include/ddk/xfilter.h: Ditto.
+
+       * include/ddk/cfgmgr32.h (UNICODE): Use __AW() macro for mapping
+       non-specific symbols.
+       * include/ddk/newdev.h: Ditto.
+
+       * include/ddk/kbdmou.h (GCC system_header): Add pragma.
+
+       * TODO: Add entries.
+
+2012-09-19  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       Redo the filters based on assumptions discussed in mingw-dvlpr list.
+
+       * include/sys/fcntl.h (_mingw.h): Include.
+       * include/sys/file.h: Ditto.
+       * include/sys/param.h: Ditto.
+       * include/sys/time.h: Ditto.
+       * include/sys/unistd.h: Ditto.
+       * include/directx/d3d9.h: Ditto.
+       * include/directx/d3d9caps.h: Ditto.
+       * include/directx/d3d9types.h: Ditto.
+       * include/directx/dxerr8.h: Ditto.
+       * include/directx/dxerr9.h: Ditto.
+       * include/gdiplus/gdiplus.h: Ditto.
+       * include/gdiplus/gdiplusbase.h: Ditto.
+       * include/gdiplus/gdiplusbrush.h: Ditto.
+       * include/gdiplus/gdipluscolor.h: Ditto.
+       * include/gdiplus/gdipluscolormatrix.h: Ditto.
+       * include/gdiplus/gdipluseffects.h: Ditto.
+       * include/gdiplus/gdiplusenums.h: Ditto.
+       * include/gdiplus/gdiplusflat.h: Ditto.
+       * include/gdiplus/gdiplusgpstubs.h: Ditto.
+       * include/gdiplus/gdiplusgraphics.h: Ditto.
+       * include/gdiplus/gdiplusheaders.h: Ditto.
+       * include/gdiplus/gdiplusimageattributes.h: Ditto.
+       * include/gdiplus/gdiplusimagecodec.h: Ditto.
+       * include/gdiplus/gdiplusimaging.h: Ditto.
+       * include/gdiplus/gdiplusimpl.h: Ditto.
+       * include/gdiplus/gdiplusinit.h: Ditto.
+       * include/gdiplus/gdipluslinecaps.h: Ditto.
+       * include/gdiplus/gdiplusmatrix.h: Ditto.
+       * include/gdiplus/gdiplusmem.h: Ditto.
+       * include/gdiplus/gdiplusmetafile.h: Ditto.
+       * include/gdiplus/gdiplusmetaheader.h: Ditto.
+       * include/gdiplus/gdipluspath.h: Ditto.
+       * include/gdiplus/gdipluspen.h: Ditto.
+       * include/gdiplus/gdipluspixelformats.h: Ditto.
+       * include/gdiplus/gdiplusstringformat.h: Ditto.
+       * include/gdiplus/gdiplustypes.h: Ditto.
+
+       * include/sys/locking.h (_mingw.h): Remove comment and move to top of
+       file.
+       * include/sys/stat.h: Ditto.
+       * include/sys/timeb.h: Ditto.
+       * include/sys/types.h: Ditto.
+       * include/sys/utime.h: Ditto.
+
+       * include/sys/locking.h (GCC system_header): Add pragma.
+       * include/sys/param.h: Ditto.
+       * include/sys/stat.h: Ditto.
+       * include/sys/time.h: Ditto.
+       * include/sys/timeb.h: Ditto.
+       * include/sys/types.h: Ditto.
+       * include/sys/unistd.h: Ditto.
+       * include/sys/utime.h: Ditto.
+
+       * include/directx/dxerr8.h (UNICODE): Use __AW() macro for mapping
+       non-specific symbols.
+       * include/directx/dxerr9.h: Ditto.
+
+       * include/sys/timeb.h (__MSVCRT_VERSION__): Remove needless filter.
+       * include/sys/types.h: Ditto.
+       * include/sys/utime.h: Ditto.
+
+       * include/sys/unistd.h (io.h): Replace with include next unistd.h.
+
+       * TODO: Add entries.
+
 2012-09-18  Earnie Boyd  <earnie@users.sourceforge.net>
 
        Redo the filters based on assumptions discussed in mingw-dvlpr list.
        * include/scrnsave.h: Ditto.
        * include/security.h: Ditto.
        * include/servprov.h: Ditto.
+       * include/rasdlg.h: Ditto.
+       * include/richedit.h: Ditto.
+       * include/rpcdce2.h: Ditto.
+       * include/rpcdcep.h: Ditto.
+       * include/rpcnsi.h: Ditto.
+       * include/setupapi.h: Ditto.
+       * include/reason.h: Ditto.
+       * include/routprot.h: Ditto.
+       * include/shellapi.h: Ditto.
+       * include/shldisp.h: Ditto.
+       * include/rpcdce.h: Ditto.
+       * include/shlobj.h: Ditto.
 
        * include/search.h (_mingw.h): Remove comment and move to top of file.
        * include/setjmp.h: Ditto.
        * include/share.h: Ditto.
 
-       * include/rasdlg.h (_mingw.h): Include.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
+       * include/rasdlg.h (UNICODE): Use __AW() macro for mapping
+       non-specific symbols.
        * include/richedit.h: Ditto.
        * include/rpcdce2.h: Ditto.
        * include/rpcdcep.h: Ditto.
        * include/rpcnsi.h: Ditto.
        * include/setupapi.h: Ditto.
+       * include/shellapi.h: Ditto.
+       * include/rpcdce.h: Ditto.
+       * include/rtutils.h: Ditto.
+       * include/sddl.h: Ditto.
+       * include/secext.h: Ditto.
+       * include/shlguid.h: Ditto.
+       * include/ras.h: Ditto.
+       * include/shlobj.h: Ditto.
 
-       * include/reason.h (_mingw.h): Include.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
-       and move filters to the end of the file.
+       * include/reason.h (_WIN32_WINNT): Use MACRO constant for comparison
+       instead of integer and move filters to the end of the file.
        * include/routprot.h: Ditto.
-
-       * include/shellapi.h (_mingw.h): Include.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
-
-       * include/shldisp.h (_mingw.h): Include.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer.
-
-       * include/rpcdce.h (_mingw.h): Include.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
-       and move filters to the end of the file.
+       * include/shellapi.h: Ditto.
+       * include/shldisp.h: Ditto.
+       * include/rpcdce.h: Ditto.
        * include/rtutils.h: Ditto.
        * include/sddl.h: Ditto.
        * include/secext.h: Ditto.
        * include/shlguid.h: Ditto.
+       * include/ras.h: Ditto.
+       * include/shlobj.h: Ditto.
 
-       * include/ras.h (_mingw.h): Include.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
-       (WINVER): Use _WIN32_WINNT instead.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
-       and move filters to the end of the file.
+       * include/ras.h (WINVER): Use _WIN32_WINNT instead.
 
-       * include/shlobj.h (_mingw.h): Include.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
-       and move filters to the end of the file.
-       (_WIN32_IE): Move filters to the end of the file.
+       * include/shlobj.h (_WIN32_IE): Move filters to the end of the file.
 
        * include/sdkddkver.h (_WIN32_WINNT_WIN4E): Add new symbol.
        (_mingw.h): Document to not include the file since _mingw.h includes
        * include/pbt.h: Ditto.
        * include/powrprof.h: Ditto.
        * include/qedit.h: Ditto.
+       * include/mq.h: Ditto.
+       * include/ntdsapi.h: Ditto.
+       * include/ntdsbcli.h: Ditto.
+       * include/objsel.h: Ditto.
+       * include/msacm.h: Ditto.
+       * include/nddeapi.h: Ditto.
+       * include/nspapi.h: Ditto.
+       * include/oleacc.h: Ditto.
+       * include/oledlg.h: Ditto.
+       * include/prsht.h: Ditto.
 
        * include/process.h (_mingw.h): Remove comment and move to top of file.
 
-       * include/mq.h (_mingw.h): Include.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
-       and move filters to the end of the file.
+       * include/mq.h (_WIN32_WINNT): Use MACRO constant for comparison
+       instead of integer and move filters to the end of the file.
        * include/ntdsapi.h: Ditto.
        * include/ntdsbcli.h: Ditto.
        * include/objsel.h: Ditto.
 
-       * include/msacm.h (_mingw.h): Include.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
+       * include/msacm.h (UNICODE): Use __AW() macro for mapping
+       non-specific symbols.
        * include/nddeapi.h: Ditto.
        * include/nspapi.h: Ditto.
        * include/oleacc.h: Ditto.
        * include/mlang.h: Ditto.
        * include/mmreg.h: Ditto.
        * include/mpegtype.h: Ditto.
-
-       * include/mgm.h (_mingw.h): Include.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
-       and move filters to the end of the file.
+       * include/mgm.h: Ditto.
        * include/mprapi.h: Ditto.
+       * include/lzexpand.h: Ditto.
+       * include/mmsystem.h: Ditto.
 
        * include/locale.h (_mingw.h): Remove comment and move to top of file.
+       * include/malloc.h: Ditto.
+       * include/math.h: Ditto.
+
+       * include/mgm.h (_WIN32_WINNT): Use MACRO constant for comparison
+       instead of integer and move filters to the end of the file.
+       * include/mprapi.h: Ditto.
+       * include/mmsystem.h: Ditto.
 
-       * include/malloc.h (_mingw.h): Remove comment and move to top of file.
-       (__MSVCRT_VERSION__): Remove as unneeded.
+       * include/malloc.h (__MSVCRT_VERSION__): Remove as unneeded.
+       * include/math.h: Ditto.
 
-       * include/math.h (_mingw.h): Remove comment and move to top of file.
-       (__MSVCRT_VERSION__): Remove as unneeded.
-       (__GNUC__): Assume we are using a version >= 3.4.5
+       * include/math.h (__GNUC__): Assume we are using a version >= 3.4.5
 
-       * include/lzexpand.h (_mingw.h): Include.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
+       * include/lzexpand.h (UNICODE): Use __AW() macro for mapping
+       non-specific symbols.
+       * include/mmsystem.h: Ditto.
 
        * include/lmcons.h (_mingw.h): Include.
        (LMSTR): Correct filter for definition determination.
        (LMCSTR): Ditto.
 
-       * include/mmsystem.h (_mingw.h): Include.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
-       (WINVER): Use _WIN32_WINNT instead.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
-       and move filters to the end of the file.
+       * include/mmsystem.h (WINVER): Use _WIN32_WINNT instead.
 
        * include/_mingw.h (FORCE_UNICODE): Another filter for determining
        UNICODE for __AW and __STR.
        Redo the filters based on assumptions discussed in mingw-dvlpr list.
 
        * include/icm.h (_mingw.h): Include.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
-       and move filters to the end of the file.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
-       * include/imm.h: Ditto.
-
        * include/iphlpapi.h (_mingw.h): Include.
-       (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
-       and move filters to the end of the file.
-       * include/iptypes.h: Ditto.
-       * include/ipxconst.h: Ditto.
-       * include/ipxrtdef.h: Ditto.
-
        * include/imagehlp.h (_mingw.h): Include.
-       (UNICODE): Use __AW() macro for mapping non-specific symbols.
-       * include/intshcut.h: Ditto.
-
-       * include/inttypes.h (_mingw.h): Remove comment and move to top of file.
-       * include/libgen.h: Ditto.
-
        * include/idispids.h (_mingw.h): Include.
        * include/il21dec.h: Ditto.
        * include/initguid.h: Ditto.
        * include/ks.h: Ditto.
        * include/ksmedia.h: Ditto.
        * include/largeint.h: Ditto.
+       * include/ipxtfflt.h: Ditto.
+       * include/intshcut.h: Ditto.
+
+       * include/inttypes.h (_mingw.h): Remove comment and move to top of file.
+       * include/libgen.h: Ditto.
+       * include/io.h: Ditto.
+       * include/limits.h: Ditto.
+
+       * include/iphlpapi.h (_WIN32_WINNT): Use MACRO constant for comparison
+       instead of integer and move filters to the end of the file.
+       * include/icm.h: Ditto.
+       * include/iptypes.h: Ditto.
+       * include/ipxconst.h: Ditto.
+       * include/ipxrtdef.h: Ditto.
+
+       * include/imagehlp.h (UNICODE): Use __AW() macro for mapping
+       non-specific symbols.
+       * include/intshcut.h: Ditto.
+       * include/icm.h: Ditto.
+
+       * include/io.h (__MSVCRT_VERSION__): Removed throughout.
 
-       * include/io.h (_mingw.h): Remove comment and move to top of file.
-       (_findfirst*): What a mess.  Reworked.
+       * include/io.h (_findfirst*): What a mess.  Reworked.
        (_wfindfirst*): Ditto.
        (_findnext*): Ditto.
        (_wfindnext*): Ditto.
        (_finddata*_t): Ditto.
        (_wfinddata*_t): Ditto.
        (_FINDDATA_T_DEFINED): Add filter.
-       (__MSVCRT_VERSION__): Removed throughout.
 
-       * include/ipxtfflt.h (_mingw.h): Include.
-       (_IPX_TRAFFIC_FILTER_INFO): Add structure.
+       * include/ipxtfflt.h (_IPX_TRAFFIC_FILTER_INFO): Add structure.
        (_IPX_TRAFFIC_FILTER_GLOBAL_INFO): Ditto.
 
-       * include/limits.h (_mingw.h): Remove comment and move to top of file.
-       (__STRICT_ANSI__): Remove filters as unneeded.
+       * include/limits.h (__STRICT_ANSI__): Remove filters as unneeded.
        (_CHAR_UNSIGNED): Add as a user defined filter for unsigned char.
 
        * include/sdkddkver.h (_WIN32_WINNT_WIN98): Correct value.