OSDN Git Service
Keith Marshall [Thu, 30 Jan 2014 14:22:18 +0000 (14:22 +0000)]
Make dirent structure 64-bit deterministic; (cf. issue #2106)
Keith Marshall [Thu, 30 Jan 2014 09:58:09 +0000 (09:58 +0000)]
Correct _wfinddata64_t vs. __wfinddata64_t typo.
Keith Marshall [Mon, 27 Jan 2014 23:25:54 +0000 (23:25 +0000)]
Remove superfluous objects from libmingwex.a; (cf. issue #2177)
Keith Marshall [Mon, 27 Jan 2014 22:13:35 +0000 (22:13 +0000)]
Re-establish pattern rules for %_generic.c; (cf. issue #2175)
--HG--
rename : src/libcrt/math/asinh.c => src/libcrt/math/asinh_generic.c
Keith Marshall [Wed, 22 Jan 2014 14:55:10 +0000 (14:55 +0000)]
Reinstate complex math functions; (cf. issue #2174)
Keith Marshall [Mon, 20 Jan 2014 22:56:34 +0000 (22:56 +0000)]
Correct position of Emacs mode specification lines.
Keith Marshall [Fri, 17 Jan 2014 10:44:45 +0000 (10:44 +0000)]
Do not require pre-existence of features we are implementing.
Keith Marshall [Sat, 21 Dec 2013 17:01:16 +0000 (17:01 +0000)]
Avoid gratuitously overriding makefile build rules.
Keith Marshall [Fri, 20 Dec 2013 22:32:39 +0000 (22:32 +0000)]
Correct invalid makefile shell command syntax.
Earnie Boyd [Wed, 18 Sep 2013 18:26:33 +0000 (14:26 -0400)]
Ticket [#2050] Missing definition of FILE_FLAG_FIRST_PIPE_INSTANCE.
Earnie Boyd [Sun, 15 Sep 2013 16:59:09 +0000 (12:59 -0400)]
Update build-aux to match master.
Earnie Boyd [Sun, 15 Sep 2013 16:47:44 +0000 (12:47 -0400)]
Merge branch '4.0-dev'
Earnie Boyd [Sun, 15 Sep 2013 16:47:23 +0000 (12:47 -0400)]
Update build-aux to current.
Earnie Boyd [Sun, 15 Sep 2013 15:55:26 +0000 (11:55 -0400)]
[bugs#2045] wtsapi32.h not working for _WIN32_WINNT_WINXP.
Earnie Boyd [Sat, 14 Sep 2013 15:42:24 +0000 (11:42 -0400)]
The DLL name for winspool is actually winspool.drv.
Earnie Boyd [Thu, 1 Aug 2013 18:44:29 +0000 (14:44 -0400)]
Change typo OSDIR to be OSVER. [bugs/2009]
Earnie Boyd [Mon, 29 Jul 2013 01:54:19 +0000 (21:54 -0400)]
Correction for issue #2007.
Earnie Boyd [Fri, 28 Jun 2013 12:41:06 +0000 (08:41 -0400)]
Add missing _tcsclen define to tchar.h.
Earnie Boyd [Thu, 27 Jun 2013 16:03:28 +0000 (12:03 -0400)]
Change string to mingw_org_wsl for package name consistency and to be repository name nescient.
Earnie Boyd [Thu, 27 Jun 2013 12:06:58 +0000 (08:06 -0400)]
Resolve issue to define all components of _STAT_DEFINED.
Earnie Boyd [Thu, 27 Jun 2013 12:03:15 +0000 (08:03 -0400)]
Resolve issue to define all components of _STAT_DEFINED.
Keith Marshall [Tue, 25 Jun 2013 20:36:44 +0000 (21:36 +0100)]
Correct ill advised use of non-standard shell syntax.
Earnie Boyd [Fri, 21 Jun 2013 15:46:12 +0000 (11:46 -0400)]
Resolve incorrect type casts in time.h.
Earnie Boyd [Wed, 19 Jun 2013 15:21:41 +0000 (11:21 -0400)]
Remove time_t definition from wchar.h and change _findfrist* and _findnext* to __CRT_MAYBE_INLINE.
Earnie Boyd [Mon, 17 Jun 2013 17:33:54 +0000 (13:33 -0400)]
Further corrections for _wfindfirst* and _wfindnext*. Work around issue for __CRT_MAYBE_INLINE when __NO_INLINE__ defined.
Earnie Boyd [Sun, 16 Jun 2013 19:07:56 +0000 (15:07 -0400)]
Update NEWS for MSVCRT_VERSION and _CRTALIAS of time functions.
Earnie Boyd [Sun, 16 Jun 2013 18:23:18 +0000 (14:23 -0400)]
Correct malformations and missed definitions to finish _USE_32BIT_TIME_T coding.
Earnie Boyd [Fri, 7 Jun 2013 23:18:37 +0000 (19:18 -0400)]
Merge changes from repository.
Earnie Boyd [Fri, 7 Jun 2013 23:06:19 +0000 (19:06 -0400)]
Miscellaneous changes toward finalizing the _USE_32BIT_TIME_T debacle.
Jan Nitjmans [Fri, 7 Jun 2013 22:47:09 +0000 (18:47 -0400)]
include/time.h: Correct typos. Add MSVCRT_VERSION >= 800 guard for _CRTALIAS of _wctime.
Keith Marshall [Wed, 5 Jun 2013 21:57:16 +0000 (22:57 +0100)]
Provide more robust inverse hyperbolic sine functions.
Earnie Boyd [Wed, 5 Jun 2013 17:55:49 +0000 (13:55 -0400)]
Correct typo for UNICODE define of SHGetFolderPath.
Earnie Boyd [Wed, 5 Jun 2013 17:46:50 +0000 (13:46 -0400)]
Add lib/libshell32/shell32.o to the libshell32.a library.
Earnie Boyd [Tue, 4 Jun 2013 20:55:39 +0000 (16:55 -0400)]
Header file dependencies required inclusions to be above the file guard.
Earnie Boyd [Tue, 4 Jun 2013 19:50:27 +0000 (15:50 -0400)]
Modifications for _USE_32BIT_TIME_T issue.
Earnie Boyd [Tue, 28 May 2013 16:59:47 +0000 (12:59 -0400)]
Correct mistyped __MINGW_NOTHROW macro.
Earnie Boyd [Tue, 28 May 2013 11:50:24 +0000 (07:50 -0400)]
Correct use of MSVCRT_VERSION.
Earnie Boyd [Mon, 27 May 2013 19:09:51 +0000 (15:09 -0400)]
Rework _USE_32BIT_TIME_T in light of MSVCRT_VERSION value.
Earnie Boyd [Tue, 21 May 2013 14:27:17 +0000 (10:27 -0400)]
Add clean-dist, clean-dist-mingwrt, clean-dist-w32api and clean-dist-wsl targets.
Earnie Boyd [Wed, 15 May 2013 20:46:28 +0000 (16:46 -0400)]
Correction for issues #1956 and #1958.
Earnie Boyd [Wed, 15 May 2013 18:40:37 +0000 (14:40 -0400)]
Merge branch '4.0-dev' of ssh://git.code.sf.net/p/mingw/mingw-org-wsl into 4.0-dev
Conflicts:
ChangeLog
Earnie Boyd [Wed, 15 May 2013 17:44:50 +0000 (13:44 -0400)]
* .gitignore: Add nbproject folder.
Earnie Boyd [Wed, 15 May 2013 17:24:36 +0000 (13:24 -0400)]
* Makefile.in: Add installation and delivery of library object files.
Keith Marshall [Sat, 11 May 2013 19:17:42 +0000 (20:17 +0100)]
Avoid a potential SIGSEGV crash on CRT start-up.
Keith Marshall [Sat, 11 May 2013 19:06:22 +0000 (20:06 +0100)]
Install non-executable files with proper attributes.
Keith Marshall [Tue, 7 May 2013 20:34:24 +0000 (21:34 +0100)]
Update build-aux submodule reference for SF host migration.
Earnie Boyd [Tue, 9 Apr 2013 20:46:02 +0000 (16:46 -0400)]
* Makefile.in: Adjust distributed package names when RELEASE_STATUS is not equal "dist".
Earnie Boyd [Thu, 14 Mar 2013 15:21:20 +0000 (11:21 -0400)]
Copyright notice update and RELEASE_STATUS package creation changes.
* LICENSE: Update copyright notice adding year 2013.
* README: Update copyright notice adding year 2013.
Add text to explain where release notes can be found.
* Makefile.in: Update copyright notice adding year 2013.
(mingwrtdocdir): New variable used in dist-mingwrt target.
(w32apidocdir): New variable used in dist-w32api target.
(doc_DOCUMENTS): Add ChangeLog, NEWS, TODO, and NOTES.
(install-mingwrt-dirs, install-w32api-dirs): Correct creation of doc
directory using mingwrtdocdir or w32apidocdir respectfully.
(install-mingwrt, install-w32api): Correct copy of historical
documentation.
(dist-mingwrt*, dist-w32api*): For RELEASE_STATUS != prod modify the
package name to include the RELEASE_STATUS to satisfy the rules of
mingw-get.
Earnie Boyd [Wed, 27 Feb 2013 13:27:06 +0000 (08:27 -0500)]
* Makefile.in: Add variables for RELEASE_STATUS and RELEASE_REFERENCE.
Add conditionals for RELEASE_STATUS not equal "prod" for dist-mingwrt,
dist-w32api and dist-wsl targets.
* configure.ac: Add declaration of RELEASE_STATUS and RELEASE_REFERENCE
variables.
Earnie Boyd [Mon, 25 Feb 2013 20:42:06 +0000 (15:42 -0500)]
* tests/Makefile.in: Correct order of libraries in LIBS.
* include/io.h: Correct declarations for _findfirst/_findnext when
not _HAVE_32BIT_TIME_T.
Earnie Boyd [Mon, 25 Feb 2013 14:42:52 +0000 (09:42 -0500)]
* NEWS: Add and adjust release notes for 4.0.
Earnie Boyd [Sun, 24 Feb 2013 17:04:08 +0000 (12:04 -0500)]
* lib/lib32/ddk/ntoskrnl.def (KeQueryActiveProcessorCount): Correct
typo.
(KeQueryActiveProcessors): Add import.
* NEWS: Add and adjust release notes for 4.0.
Earnie Boyd [Sat, 23 Feb 2013 21:03:31 +0000 (16:03 -0500)]
* NEWS: Add and adjust release notes for 4.0.
Earnie Boyd [Sat, 23 Feb 2013 19:29:38 +0000 (14:29 -0500)]
* README: Add references for reporting bugs and submitting patches.
Correct the @FILENAME@ cut/paste issue.
Earnie Boyd [Sat, 23 Feb 2013 19:09:41 +0000 (14:09 -0500)]
Add missing UUID Interface Definitions.
* src/libuuid/cguid-uuid.c (CLSID_StdGlobalInterfaceTable): Define.
* src/libuuid/objidl-uuid.c (IID_IGlobalInterfaceTable): Define.
(FMTID_DocSummaryInformation): Ditto.
(FMTID_SummaryInformation): Ditto.
(FMTID_UserDefinedProperties): Ditto.
Earnie Boyd [Fri, 22 Feb 2013 18:59:24 +0000 (13:59 -0500)]
INTERFACE declaration ICreateTypeInfo and ICreateTypeLib.
* include/oaidl.h (ICreateTypeInfo, ICreateTypeInfo2): Declare
INTERFACE.
(ICreateTypeLib, ICreateTypeLib2): Ditto.
Earnie Boyd [Fri, 22 Feb 2013 16:02:46 +0000 (11:02 -0500)]
Changes for WSL-4.0 based on Issues being closed.
* include/float.h (_MCW_DN, _DN_SAVE, _DN_FLUSH): Add definitions.
* include/winuser.h (POINTTOPOINTS, POINTSTOPOINT): Adjust parameters
with type specificity.
* include/windef.h(MAKEWORD, MAKELONG, LOWORD, HIWORD, LOBYTE, HIBYTE):
Ditto. Also use DWORD_PTR instead of DWORD.
* include/winuser.h (POINTTOPOINTS): Remove the cast to POINTS struct.
* include/winreg.h (reason.h): Include.
Earnie Boyd [Thu, 21 Feb 2013 21:27:11 +0000 (16:27 -0500)]
* include/fcntl.h (O_RAW): Add definition within ndef NO_MOLDAMES path.
Earnie Boyd [Thu, 21 Feb 2013 15:58:28 +0000 (10:58 -0500)]
* include/oleauto.h (RegisterTypeLibForUser, UnRegisterTypeLibForUser):
Add declarations.
* lib/lib32/oleaut32.def: Ditto.
Earnie Boyd [Wed, 20 Feb 2013 13:15:48 +0000 (08:15 -0500)]
2013 02-20 F. Mensik <pepezdepa@users.sourceforge.net>
* include/winnls.h (LONG_PTR): Add _WIN64 typedef.
Earnie Boyd [Sat, 16 Feb 2013 16:06:46 +0000 (11:06 -0500)]
* include/stdlib.h (_MAX_ENV): Define if not __STRICT_ANSI__.
Earnie Boyd [Tue, 8 Jan 2013 14:43:22 +0000 (09:43 -0500)]
Modify "@copy 2012" to read "Copyright 2012, 2013".
Earnie Boyd [Mon, 7 Jan 2013 15:24:39 +0000 (10:24 -0500)]
Insert removed author attribution.
Earnie Boyd [Sat, 10 Nov 2012 14:19:51 +0000 (09:19 -0500)]
https://sourceforge.net/tracker/?func=detail&aid=
3572971&group_id=2435&atid=102435
* include/wchar.h (_vscwprintf): Add declaration.
Earnie Boyd [Fri, 9 Nov 2012 20:06:26 +0000 (15:06 -0500)]
2012-11-09 Earnie Boyd <earnie@users.sourceforge.net>
https://sourceforge.net/tracker/?func=detail&aid=
3559134&group_id=2435&atid=102435
* include/wincrypt.h (CertEnumCRLsInStore): Add declaration.
* lib/lib32/crypt32.def (CertEnumCRLsInStore): Add import definition.
2012-11-09 Keith Marshall <keithmarshall@users.sourceforge.net>
* include/_mingw.h (_MINGW_H): Revert to consistent use of...
(__MINGW_H): ...this, as multiple inclusion guard macro.
Earnie Boyd [Wed, 31 Oct 2012 19:26:42 +0000 (15:26 -0400)]
https://sourceforge.net/tracker/?func=detail&aid=
3408074&group_id=2435&atid=102435
* Makefile.in (mingwrt_lib_LIBRARIES): Remove incorrect variable
assignment.
* src/libcrt/search/tdelete.c: Remove incorrect assertion about vkey.
Earnie Boyd [Wed, 31 Oct 2012 17:45:28 +0000 (13:45 -0400)]
Correct DllMain() declarations and definitions.
* src/libcrt/crt/dllcrt1.c: Correct DllMain declaration.
* src/libcrt/crt/dllmain.c: Correct DllMain definition.
* src/libcrt/crt/mthr_init.c: Remove DllMain declaration.
Correct DllMain definition.
Earnie Boyd [Wed, 31 Oct 2012 13:56:04 +0000 (09:56 -0400)]
Work around Microsoft breakage of command line globbing.
* include/glob.h: New file; it declares the API for a (mostly) POSIX
compatible path name globbing facility for use in MinGW applications.
* src/libcrt/misc/glob.c: New file; it implements the glob API...
(__mingw_glob, __mingw_globfree): ...through this pair of functions.
* Makefile.in (misc_SOURCES): Add glob.c
(mingwrt_lib_INCLUDES): Add glob.h
* include/_mingw.h (BEGIN_C_DECLS, END_C_DECLS): New macros;
they facilitate...
[__cplusplus]: ...demarcation of 'extern "C"' declarations for this.
(__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
(__CRT_GLOB_USE_MSVCRT__, __CRT_GLOB_USE_MINGW__): Likewise; these act
as mutually exclusive feature selectors for assignment in CRTglob.c
(__CRT_GLOB_USE_SINGLE_QUOTE__, __CRT_GLOB_BRACKET_GROUPS__):
(__CRT_GLOB_CASE_SENSITIVE__): New bit-flag definitions; with...
[_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...they enable additional
command line globbing capabilities.
* src/libcrt/crt/CRTglob.c (_CRT_glob): New default value; enable...
[_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this feature preference.
* src/libcrt/crt/init.c (_CRT_GLOB_OPT, ARGV_INLINE): New macros.
(ARGV_ESCAPE, ARGV_SQUOTE, ARGV_NOGROUP): New manifest constants;
define them as aliases for the new bit-flags from _mingw.h
(do_glob, backslash, unquote, __mingw_setargv): New static functions.
(_mingw32_init_mainargs): Use them to implement globbing, when...
[_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this is enabled.
Earnie Boyd [Tue, 30 Oct 2012 19:34:15 +0000 (15:34 -0400)]
2012-10-30 Keith Marshall <keithmarshall@users.sourceforge.net>
Use C compiler selected by running configure script.
* Makefile.in (CC): Missing AC_SUBST definition; add it.
Adjust spacing within adjacent defines, for improved readability.
(DLLTOOL_FLAGS): Avoid unnecessary use of := operator.
2012-10-30 Keith Marshall <keithmarshall@users.sourceforge.net>
Rationalise .gitignore entries.
* .gitignore (build): Ignore local build directory.
(config.status): Ignore this; it is a build-time generated file.
(aclocal.m4): Do not ignore this; as a user maintained file, which
requires manual editing, (we do not use automake), it must be tracked.
(missing depcomp install-sh): Do not ignore; these should be tracked
as build-aux component files, within the scope of the appropriate
submodule; they do not appear as normal package component files.
2012-10-30 Keith Marshall <keithmarshall@users.sourceforge.net>
Add configuration files for Mercurial support.
* .hgsub: New file; it represents the equivalent of .gitmodules
* .hgignore: New file; it is the equivalent of .gitignore
Earnie Boyd [Tue, 30 Oct 2012 19:13:44 +0000 (15:13 -0400)]
https://sourceforge.net/tracker/?func=detail&aid=
3567092&group_id=2435&atid=102435
* include/winbase.h (DllMain): Add declaration.
Earnie Boyd [Thu, 25 Oct 2012 20:09:01 +0000 (16:09 -0400)]
https://sourceforge.net/tracker/?func=detail&aid=
3367548&group_id=2435&atid=102435
* lib/scnsave.c: Multi-monitor support for Win95 and NT4.
Earnie Boyd [Tue, 23 Oct 2012 13:05:03 +0000 (09:05 -0400)]
https://sourceforge.net/tracker/?func=detail&aid=
3166132&group_id=2435&atid=102435
* include/search.h (tdelete, tfind, tsearch): Correct declaration.
Earnie Boyd [Tue, 23 Oct 2012 12:35:07 +0000 (08:35 -0400)]
https://sourceforge.net/tracker/?func=detail&aid=
3437558&group_id=2435&atid=102435
* include/amvideo.h (VIDEOINFO): Correct structure coding.
Earnie Boyd [Tue, 23 Oct 2012 12:27:02 +0000 (08:27 -0400)]
https://sourceforge.net/tracker/?func=detail&aid=
3437216&group_id=2435&atid=102435
* include/objfwd.h (LPENUMSTATPROPSTG): Properly type define with as a
pointer.
Earnie Boyd [Mon, 22 Oct 2012 18:03:22 +0000 (14:03 -0400)]
https://sourceforge.net/tracker/?func=detail&aid=
2567153&group_id=2435&atid=102435
* include/sys/types.h (off_t): Type define regardless of _NO_OLDNAMES.
Earnie Boyd [Sun, 21 Oct 2012 17:39:41 +0000 (13:39 -0400)]
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.
Earnie Boyd [Fri, 19 Oct 2012 19:12:10 +0000 (15:12 -0400)]
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.
Earnie Boyd [Wed, 17 Oct 2012 14:10:42 +0000 (10:10 -0400)]
Add asinh* tests provided by Keith Marshall.
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.
Earnie Boyd [Tue, 16 Oct 2012 14:13:14 +0000 (10:13 -0400)]
Correct value of _WIN32_WINNT.
* 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.
Earnie Boyd [Mon, 8 Oct 2012 20:03:54 +0000 (16:03 -0400)]
Merge branch 'develop'
Earnie Boyd [Mon, 8 Oct 2012 20:01:39 +0000 (16:01 -0400)]
Merge branch '4.0-dev' into develop
Earnie Boyd [Mon, 8 Oct 2012 19:59:06 +0000 (15:59 -0400)]
* Makefile.in (dist-mingwrt-src, dist-mingw32-src, dist-wsl-src):
Copy top_srcdir to a specific mingw.org-wsl directory.
Earnie Boyd [Thu, 27 Sep 2012 16:20:06 +0000 (12:20 -0400)]
_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.
Earnie Boyd [Wed, 26 Sep 2012 15:38:55 +0000 (11:38 -0400)]
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.
Earnie Boyd [Fri, 21 Sep 2012 17:57:45 +0000 (13:57 -0400)]
* 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.
Earnie Boyd [Thu, 20 Sep 2012 13:06:04 +0000 (09:06 -0400)]
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.
Earnie Boyd [Wed, 19 Sep 2012 18:39:35 +0000 (14:39 -0400)]
Reformat recent ChangeLog entries
Earnie Boyd [Wed, 19 Sep 2012 18:11:00 +0000 (14:11 -0400)]
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.
Earnie Boyd [Wed, 19 Sep 2012 14:11:22 +0000 (10:11 -0400)]
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.
Earnie Boyd [Tue, 18 Sep 2012 13:16:19 +0000 (09:16 -0400)]
Redo the filters based on assumptions discussed in mingw-dvlpr list.
* include/shobjidl.h (_mingw.h): Include.
* include/shlwapi.h: Ditto.
* include/snmp.h: Ditto.
* include/specstrings.h: Ditto.
* include/sql.h: Ditto.
* include/sqlext.h: Ditto.
* include/sqltypes.h: Ditto.
* include/sqlucode.h: Ditto.
* include/sspi.h: Ditto.
* include/stm.h: Ditto.
* include/strings.h: Ditto.
* include/strmif.h: Ditto.
* include/subauth.h: Ditto.
* include/svcguid.h: Ditto.
* include/tchar.h: Ditto.
* include/tlhelp32.h: Ditto.
* include/tmschema.h: Ditto.
* include/unistd.h: Ditto.
* include/unknwn.h: Ditto.
* include/userenv.h: Ditto.
* include/usp10.h: Ditto.
* include/utime.h: Ditto.
* include/uxtheme.h: Ditto.
* include/values.h: Ditto.
* include/vfw.h: Ditto.
* include/vidcap.h: Ditto.
* include/vmr9.h: Ditto.
* include/vptype.h: Ditto.
* include/wtypes.h: Ditto.
* include/winable.h: Ditto.
* include/winbase.h: Ditto.
* include/winber.h: Ditto.
* include/wincon.h: Ditto.
* include/wincrypt.h: Ditto.
* include/windef.h: Ditto.
* include/windns.h: Ditto.
* include/windows.h: Ditto.
* include/windowsx.h: Ditto.
* include/winerror.h: Ditto.
* include/wingdi.h: Ditto.
* include/wininet.h: Ditto.
* include/winioctl.h: Ditto.
* include/winldap.h: Ditto.
* include/winnetwk.h: Ditto.
* include/winnls.h: Ditto.
* include/winnt.h: Ditto.
* include/winperf.h: Ditto.
* include/winreg.h: Ditto.
* include/winresrc.h: Ditto.
* include/winsnmp.h: Ditto.
* include/winsock.h: Ditto.
* include/winsock2.h: Ditto.
* include/winspool.h: Ditto.
* include/winsvc.h: Ditto.
* include/winuser.h: Ditto.
* include/winver.h: Ditto.
* include/ws2spi.h: Ditto.
* include/ws2tcpip.h: Ditto.
* include/wsahelp.h: Ditto.
* include/wsipx.h: Ditto.
* include/wsnetbs.h: Ditto.
* include/wtsapi32.h: Ditto.
* include/xprtdefs.h: Ditto.
* include/zmouse.h: Ditto.
* include/signal.h (_mingw.h): Remove comment and move to top of file.
* include/stdint.h: Ditto.
* include/stdio.h: Ditto.
* include/stdlib.h: Ditto.
* include/string.h: Ditto.
* include/time.h: Ditto.
* include/wchar.h: Ditto.
* include/wctype.h: Ditto.
* include/shlwapi.h (UNICODE): Use __AW() macro for mapping
non-specific symbols.
* include/sspi.h: Ditto.
* include/userenv.h: Ditto.
* include/vfw.h: Ditto.
* include/winbase.h: Ditto.
* include/wincon.h: Ditto.
* include/wincrypt.h: Ditto.
* include/windns.h: Ditto.
* include/wingdi.h: Ditto.
* include/wininet.h: Ditto.
* include/winldap.h: Ditto.
* include/winnetwk.h: Ditto.
* include/winnls.h: Ditto.
* include/winreg.h: Ditto.
* include/winsock2.h: Ditto.
* include/winspool.h: Ditto.
* include/winsvc.h: Ditto.
* include/winuser.h: Ditto.
* include/winver.h: Ditto.
* include/ws2tcpip.h: Ditto.
* include/stm.h (_WIN32_WINNT): Use MACRO constant for comparison
instead of integer and move filters to the end of the file.
* include/userenv.h: Ditto.
* include/winbase.h: Ditto.
* include/wincon.h: Ditto.
* include/wincrypt.h: Ditto.
* include/wingdi.h: Ditto.
* include/winnls.h: Ditto.
* include/winnt.h: Ditto.
* include/winreg.h: Ditto.
* include/winspool.h: Ditto.
* include/winuser.h: Ditto.
* include/ws2tcpip.h: Ditto.
* include/shlwapi.h (_OBJC_NO_COM): Move filters to the end of the file.
* include/stdlib.h (_UWIN): Remove filter since we assume only GCC.
* include/string.h: Ditto.
* include/stdio.h (__GNUC__): Remove filter since we assume only GCC.
* include/stdio.h (__MSVCRT_VERSION__): Remove needless filter.
* include/stdlib.h: Ditto.
* include/string.h: Ditto.
* include/tchar.h: Ditto.
* include/time.h: Ditto.
* include/wchar.h: Ditto.
* include/wctype.h: Ditto.
* include/winbase.h (_WIN32_WINDOWS): Use _WIN32_WINNT instead.
* include/wingdi.h: Ditto.
* include/winuser.h: Ditto.
* include/wincrypt.h (WINVER): Use _WIN32_WINNT instead.
* include/wingdi.h: Ditto.
* include/winnls.h: Ditto.
* include/winreg.h: Ditto.
* include/winuser.h: Dittol
* include/_mingw.h (__TEST_SQL_NOUNICODEMAP): Use to determine if
UNICODE should be considered.
(_ODBCINST_H): Changed to use __TEST_SQL_NOUNICODEMAP.
* include/odbcinst.h (__TEST_SQL_NOUNICODEMAP): Define before including
_mingw.h.
* include/sqlucode.h: Ditto.
* include/time.h (time_t): Logic fix for filters.
* (__time64_t): Remove the __STRICT_ANSI__ guard.
* include/winable.h: This file is deprecated by Microsoft due to
winuser.h containing all of the functionality of winable.h; therefore
issue a warning and include winuser.h.
* include/windows.h (Win32_Winsock): Remove filter logic and warning.
(winsock2.h): Do not include as doing so is not Microsoft compatible.
To use winsock2.h you need to include it instead of windows.h.
(__USE_W32_SOCKETS): Add a comment that it is __CYGWIN__ specific.
* include/winsock.h (_WIN32_WINNT_WIN95): Give a warning if winsock.h
is included for Windows versions greater than WIN95.
* include/winuser.h (MB_SERVICE_NOTIFICATION): We assume WIN95 or
greater so define based on this assumption.
(MB_SERVICE_NOTIFICATION_NT3X): Ditto.
(SM_CMETRICS): Ditto.
(MOUSEEVENTF_WHEEL): Ditto.
(ENDSESSION_LOGOFF): Ditto.
* TODO: Add entries.
Earnie Boyd [Thu, 13 Sep 2012 20:50:21 +0000 (16:50 -0400)]
Redo the filters based on assumptions discussed in mingw-dvlpr list.
* include/rapi.h (_mingw.h): Include.
* include/raserror.h: Ditto.
* include/rassapi.h: Ditto.
* include/regstr.h: Ditto.
* include/richole.h: Ditto.
* include/rpc.h: Ditto.
* include/rpcndr.h: Ditto.
* include/rpcnsip.h: Ditto.
* include/rpcnterr.h: Ditto.
* include/rpcproxy.h: Ditto.
* include/schannel.h: Ditto.
* include/schnlsp.h: Ditto.
* include/scrnsave.h: Ditto.
* include/security.h: Ditto.
* include/servprov.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/richedit.h: Ditto.
* include/rpcdce2.h: Ditto.
* include/rpcdcep.h: Ditto.
* include/rpcnsi.h: Ditto.
* include/setupapi.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/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/rtutils.h: Ditto.
* include/sddl.h: Ditto.
* include/secext.h: Ditto.
* include/shlguid.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/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/sdkddkver.h (_WIN32_WINNT_WIN4E): Add new symbol.
(_mingw.h): Document to not include the file since _mingw.h includes
this file.
* TODO: Add entries.
* NOTES: New file.
Earnie Boyd [Wed, 12 Sep 2012 18:10:31 +0000 (14:10 -0400)]
Redo the filters based on assumptions discussed in mingw-dvlpr list.
* include/mshtml.h (_mingw.h): Include.
* include/mswsock.h: Ditto.
* include/mb30.h: Ditto.
* include/ntdef.h: Ditto.
* include/ntdll.h: Ditto.
* include/ntldap.h: Ditto.
* include/ntsecapi.h: Ditto.
* include/ntsecpkg.h: Ditto.
* include/oaidl.h: Ditto.
* include/objbase.h: Ditto.
* include/objfwd.h: Ditto.
* include/objidl.h: Ditto.
* include/objsafe.h: Ditto.
* include/ocidlh.: Ditto.
* include/odbcinst.h: Ditto.
* include/ole.h: Ditto.
* include/ole2.h: Ditto.
* include/ole2ver.h: Ditto.
* include/oleauto.h: Ditto.
* include/olectl.h: Ditto.
* include/olectlid.h: Ditto.
* include/oleidl.h: Ditto.
* include/pbt.h: Ditto.
* include/powrprof.h: Ditto.
* include/qedit.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/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/nddeapi.h: Ditto.
* include/nspapi.h: Ditto.
* include/oleacc.h: Ditto.
* include/oledlg.h: Ditto.
* include/prsht.h: Ditto.
* include/_mingw.h (__AW): Add filters for SQL_NOUNICODEMAP.
* TODO: Add items to the list as needed.
Earnie Boyd [Tue, 11 Sep 2012 21:08:40 +0000 (17:08 -0400)]
Redo the filters based on assumptions discussed in mingw-dvlpr list.
* include/lm.h (_mingw.h): Include.
* include/lmaccess.h: Ditto.
* include/lmalert.h: Ditto.
* include/lmapibuf.h: Ditto.
* include/lmat.h: Ditto.
* include/lmaudit.h: Ditto.
* include/lmbrowsr.h: Ditto.
* include/lmchdev.h: Ditto.
* include/lmconfig.h: Ditto.
* include/lmerr.h: Ditto.
* include/lmerrlog.h: Ditto.
* include/lmmsg.h: Ditto.
* include/lmremutl.h: Ditto.
* include/lmrepl.h: Ditto.
* include/lmserver.h: Ditto.
* include/lmshare.h: Ditto.
* include/lmsname.h: Ditto.
* include/lmstats.h: Ditto.
* include/lmsvc.h: Ditto.
* include/lmuse.h: Ditto.
* include/lmuseflg.h: Ditto.
* include/lmwksta.h: Ditto.
* include/mapi.h: Ditto.
* include/mbctype.h: Ditto.
* include/mbstring.h: Ditto.
* include/mciavi.h: Ditto.
* include/mcx.h: Ditto.
* include/mem.h: Ditto.
* include/memory.h: Ditto.
* include/mgmtapi.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/mprapi.h: Ditto.
* include/locale.h (_mingw.h): Remove comment and move to top of file.
* include/malloc.h (_mingw.h): Remove comment and move to top of file.
(__MSVCRT_VERSION__): Remove as unneeded.
* 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/lzexpand.h (_mingw.h): Include.
(UNICODE): Use __AW() macro for mapping non-specific symbols.
* 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/_mingw.h (FORCE_UNICODE): Another filter for determining
UNICODE for __AW and __STR.
* TODO: New file.
Earnie Boyd [Tue, 11 Sep 2012 14:41:44 +0000 (10:41 -0400)]
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/ipexport.h: Ditto.
* include/ipifcons.h: Ditto.
* include/ipinfoid.h: Ditto.
* include/iprtrmib.h: Ditto.
* include/isguids.h: Ditto.
* include/ks.h: Ditto.
* include/ksmedia.h: Ditto.
* include/largeint.h: Ditto.
* include/io.h (_mingw.h): Remove comment and move to top of file.
(_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.
(_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.
(_CHAR_UNSIGNED): Add as a user defined filter for unsigned char.
* include/sdkddkver.h (_WIN32_WINNT_WIN98): Correct value.
(_WIN32_WINNT_WINME): Ditto.
Earnie Boyd [Mon, 10 Sep 2012 17:37:08 +0000 (13:37 -0400)]
Redo the filters based on assumptions discussed in mingw-dvlpr list.
* include/commdlg.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/dbt.h: Ditto.
* include/dsclient.h: Ditto.
* include/dsgetdc.h: Ditto.
* include/errorrep.h: Ditto.
* include/complex.h (_mingw.h): Remove comment and move to top of file.
(__GNUC__): Remove filter since only GCC is used.
* include/conio.h (_mingw.h): Remove comment and move to top of file.
* include/ctype.h: Ditto.
* include/direct.h: Ditto.
* include/dirent.h: Ditto.
* include/dos.h: Ditto.
* include/errno.h: Ditto.
* include/excpt.h: Ditto.
* include/float.h: Ditto.
* include/getopt.h: Ditto.
* include/control.h (_mingw.h): Include.
* include/cplext.h: Ditto.
* include/dde.h: Ditto.
* include/devguid.h: Ditto.
* include/dlgs.h: Ditto.
* include/docobj.h: Ditto.
* include/dshow.h: Ditto.
* include/dvdevcod.h: Ditto.
* include/dvdmedia.h: Ditto.
* include/edevdefs.h: Ditto.
* include/evcode.h: Ditto.
* include/exdisp.h: Ditto.
* include/exdispid.h: Ditto.
* include/httpext.h: Ditto.
* include/cpl.h (_mingw.h): Include.
(UNICODE): Use __AW() macro for mapping non-specific symbols.
* include/custcntl.h: Ditto.
* include/ddeml.h: Ditto.
* include/errors.h: Ditto.
* include/dsadmin.h (_mingw.h): Include.
(_WIN32_WINNT): Use MACRO constant for comparison instead of integer
and move filters to the end of the file.
* include/dhcpcsdk.h: Ditto.
* include/dsquery.h: Ditto.
* include/dsrole.h: Ditto.
* include/fltdefs.h: Ditto.
* incldue/fcntl.h (_mingw.h): Include.
(__MSVCRT_VERSION__): Rename to _WIN32_WINNT and compare to
_WIN32_WINNT_WIN98.
(_WIN32_WINNT): Use MACRO constant for comparison instead of integer
and move filters to the end of the file.
* include/_mingw.h (__STR): Add macro for L"string" or "string".
* include/sdkddkver.h (_WIN32_WINNT_WIN95): Add constant definition.
(_WIN32_WINNT_WIN98): Ditto.
(_WIN32_WINNT_WINME): Ditto.
Earnie Boyd [Sat, 8 Sep 2012 19:14:16 +0000 (15:14 -0400)]
Redo the filters based on assumptions discussed in mingw-dvlpr list.
* include/_mingw.h: Add include of sdkddkver.h.
* include/accctrl.h (_WIN32_WINNT): Use MACRO constant for comparison
instead of integer.
* include/cmnquery.h (_WIN32_WINNT): Ditto.
* include/aclapi.h: Include _mingw.h.
(_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/adsprop.h: Ditto.
* include/aclui.h: Include _mingw.h.
* include/afxres.h: Ditto.
* include/amaudio.h: Ditto.
* include/amvideo.h: Ditto.
* include/amdevcod.h: Ditto.
* include/aviriff.h: Ditto.
* include/aygshell.h: Ditto.
* include/basetsd.h: Ditto.
* include/basetyps.h: Ditto.
* include/bdatypes.h: Ditto.
* include cderr.h: Ditto.
* include/cguid.h: Ditto.
* include/comcat.h: Ditto.
* include/commctrl.h (_WIN32_IE): Remove commented out definition.
(_WIN32_IE): Move filters to the end of the file.
(UNICODE): Use __AW() macro for mapping non-specific symbols.
(_WIN32_WINNT): Use MACRO constant for comparison instead of integer.
Earnie Boyd [Fri, 7 Sep 2012 19:56:01 +0000 (15:56 -0400)]
Redo the filters based on assumptions discussed in mingw-dvlpr list.
* include/_mingw.h (__AW): New macro.
(__AW__): Ditto.
* include/accctrl.h: Include _mingw.h.
Move #if _WIN32_WINNT filters to the end.
Rework the UNICODE definition mappings to the non-specific types.
Earnie Boyd [Fri, 7 Sep 2012 17:10:42 +0000 (13:10 -0400)]
Redo the filters based on assumptions discussed in mingw-dvlpr list.
* include/_mingw.h: Remove __cdecl and __stdcall defines since they will
always be defined.
* include/windef.h: Remove definitions for _cdecl, __cdecl, _stdcall,
__stdcall, _fastcall, __fastcall, WIN32, _WIN32 since they will always
be defined.
Earnie Boyd [Fri, 7 Sep 2012 16:18:50 +0000 (12:18 -0400)]
Redo the filters based on assumptions discussed in mingw-dvlpr list.
* include/_mingw.h: Remove #ifdef __declspec filter since it will always
be defined.
(__DECLSPEC_SUPPORTED): Remove definition and documentation.
* include/windef.h (__declspec): No need to define it since it will
always be defined.
(_declspec): Modify the definition.
* include/ctype.h (__DECLSPEC_SUPPORTED): Remove filters since
__declspec is always supported.
* include/mbctype.h (__DECLSPEC_SUPPORTED): Ditto.
* include/stdio.h (__DECLSPEC_SUPPORTED): Ditto.
* include/stdlib.h (__DECLSPEC_SUPPORTED): Ditto.
* include/wctype.h (__DECLSPEC_SUPPORTED): Ditto.
* include/math.h (__DECLSPEC_SUPPORTED): Ditto.
(HUGE_VAL): Always use GCC's builin value.
* include/stdlib.h: Modify whitespace.
Earnie Boyd [Fri, 7 Sep 2012 14:36:34 +0000 (10:36 -0400)]
Remove filters for CRTDLL and __MSVCRT__.
* Makefile.in: Remove -[DU]__MSVCRT__ and -[DU]__CRTDLL__.
* crt1.o: Remove CRTDLL specific target.
* dllcrt1.o: Ditto.
* gcrt1.o: Ditto.
* include/assert.h: Modify documentation to remove the use of CRTDLL.
* include/setjmp.h: Ditto.
* src/libcrt/crt/ofmt_stub.s: Ditto.
* include/ctype.h: Ditto.
Remove filters for __MSVCRT__ and unneeded #else coding.
* include/dirent.h: Ditto.
* include/dos.h: Ditto.
* include/io.h: Ditto.
* include/math.h: Ditto.
* include/process.h: Ditto.
* include/stdio.h: Ditto.
* include/stdlib.h: Ditto.
* include/string.h: Ditto.
* include/sys/stat.h: Ditto.
* include/sys/types.h: Ditto.
* include/sys/utime.h: Ditto.
* include/tchar.h: Ditto.
* include/time.h: Ditto.
* include/wchar.h: Ditto.
* include/wctype.h: Ditto.
* src/libcrt/crt/crt1.c: Ditto.
* src/libcrt/crt/init.c: Ditto.
* lib/lib32/moldname.def.in: Remove filters for __CRTDLL__.
* src/libcrt/tlssup.c: Remove filter for CRTDLL.