Commit Graph

171 Commits

Author SHA1 Message Date
Danny Smith 078f08b81a * include/wctype.h (wctrans) Remove _CRTIMP.
(towctrans): Likewise.
	(wctype): Likewise,
2005-02-25 08:15:46 +00:00
Danny Smith b7c201d588 * include/wctype.h: Add comment on wctrans, towctrans, wctype. 2005-02-25 01:48:38 +00:00
Danny Smith 3d11bd3e07 * include/tchar.h (_tstat64, _tstati64): Add Unicode/ANSI mappings. 2005-02-11 07:23:44 +00:00
Danny Smith ecb313ccee * include/assert.h; Remove header guard. undef assert macro.
(_assert): Use __MINGW_ATTRIB_NORETURN define.
2005-02-11 07:17:00 +00:00
Danny Smith ba16f5aa83 2005-02-11 Gregory W. Chicares <chicares at cox dot net>
Danny Smith  <dannysmith@users at sourceforge dot net>

	* include/math.h (expm1, expm1f, expmll): Add prototypes.
	* mingwex/Makefile.in (MATH_DISTFILES): Add expm1.c,
	expm1f.c, expm1l.c.
	(MATH_OBJS): Add expm1.o, expm1f.o, expm1l.o.
	* mingwex/math/expm1.c: New file.
	* mingwex/math/expm1f.c: New file.
	* mingwex/math/expm1l.c: New file.
2005-02-11 04:15:17 +00:00
Danny Smith e693472b16 2005-02-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/stat.h (struct stat): Guard with _NO_OLDNAMES.
	* include/wchar.h (struct stat): Likwwise.
	Bug reported to Debian by Anand Kumria  <wildfire@progsoc.org>

	* include/sys/stat.h: Remove empty __STRICT_ANSI__ guard.
2005-02-07 20:18:08 +00:00
Danny Smith 93b96855f4 2005-01-26 Oliver Stoeneberg <oliverst@online.de>
* include/malloc.h: Add missing return code defines for
	_heapwalk()
2005-01-27 00:34:42 +00:00
Danny Smith 4c9f0d3547 * include/sys/stat.h (struct __stat64): Change st_size type to
__int64.
	* include/wchar.h (struct __stat64): Change st_size type to __int64.
2005-01-17 05:03:17 +00:00
Earnie Boyd bfe069a3b0 * include/_mingw.h: Increment version to 3.7.
* Makefile.in: Ditto.
2005-01-13 19:51:02 +00:00
Earnie Boyd 29de2b1938 * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Remove.
	* include/errno.h (ELOOP): Ditto.
2005-01-13 12:40:37 +00:00
Danny Smith 49f7830187 * include/tchar.h (_tfreopen): Add UNICODE mappings. 2005-01-12 09:08:12 +00:00
Earnie Boyd aa67a4484e * include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Conditionalize defines for __STRICT_ANSI__.
2005-01-11 13:34:42 +00:00
Earnie Boyd 58bdcd7fc7 * include/errno.h (ELOOP): Add definition. 2005-01-10 21:15:40 +00:00
Danny Smith 4073a59300 * mingwex/complex/(cabsl.c cacosl.c cacoshl.c cargl.c casinl.c
casinhl.c catanl.c catanhl.c ccosl.c ccoshl.c cexpl.c cimagl.c
	clogl.c cpowl.c cprojl.c creall.c csinl.c csinhl.c csqrtl.c
	ctanl.c ctanhl.c): New files.
	* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
	(COMPLEX_OBJS): Adjust.
	* include/complex.h (cabsl, cacosl, cacoshl, cargl, casinf.
	casinhl, catanl, catanhl, ccosl, ccoshl, cexpl, cimagl, clogl,
	cpowl, cprojl, creall, csinl, csinhl, csqrtl, ctanl, ctanhl):
	Declare.
2005-01-10 05:03:55 +00:00
Danny Smith 23edaf199a * include/_mingw.h (__int16): Define as short. 2005-01-06 11:20:51 +00:00
Danny Smith 5c54e03a27 * include/stdio.h (P_tmpdir): Add define. 2005-01-06 11:10:58 +00:00
Earnie Boyd 97f3a22475 * include/_mingw.h: Increment version to 3.6
* Makefile.in: Ditto
2005-01-02 17:17:17 +00:00
Danny Smith 9a3412eea8 * mingwex/complex/(cabsf.c cacosf.c cacoshf.c cargf.c casinf.c
casinhf.c catanf.c catanhf.c ccosf.c ccoshf.c cexpf.c cimagf.c
	clogf.c cpowf.c cprojf.c crealf.c csinf.c csinhf.c csqrtf.c
	ctanf.c ctanhf.c): New files.
	* mingwex/Makefile.in (COMPLEX_DISTFILES): Adjust.
	(COMPLEX_OBJS(: Adjust.
	* include/complex.h (cabsf, cacosf, cacoshf, cargf, casinf.
	casinhf, catanf, catanhf, ccosf, ccoshf, cexpf, cimagf, clogf,
	cpowf, cprojf, crealf, csinf, csinhf, csqrtf, ctanf, ctanhf):
	Declare.
2004-12-25 23:56:19 +00:00
Danny Smith 7ffd6c6f17 * include/wchar.h (wcsdup): Correct prototype.
* include/string.h (wcsdup): Correct prototype.
2004-12-20 00:03:06 +00:00
Danny Smith 2457f34144 * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90. 2004-10-14 07:44:11 +00:00
Danny Smith 72db1c11e9 * include/math.h (ashinh, asinhf, asinhl, acosh, acoshf, acoshl,
atanh, atanhf, atanhl): Add prototypes.
	* mingwex/Makefile.in (MATH_OBJS): Add objects for above to list.
	(MATH_DISTFILES): Add sources for above and fastmath.h to list.
	Specify dependency on fastmath.h for new objects.
	* mingwex/math/fastmath.h: New file.
	* mingwex/math/ashinh.c: New file.
	* mingwex/math/asinhf.c: New file.
	* mingwex/math/asinhl.c: New file.
	* mingwex/math/acosh.c: New file.
	* mingwex/math/acoshf.c: New file.
	* mingwex/math/acoshl.c: New file.
	* mingwex/math/atanh.c: New file.
	* mingwex/math/atanhf.c: New file.
	* mingwex/math/atanhl.c: New file.
2004-10-06 20:31:32 +00:00
Earnie Boyd bbb5869af9 * include/sys/stat.h (_S_IFLNK): Add definition.
(S_IFLNK) Ditto.
	(_lstat) Ditto.
	(lstat) Ditto.
	(_S_ISLNK) Recode.
	(S_ISLNK) Ditto.
2004-09-09 02:05:22 +00:00
Earnie Boyd 57ad1153a6 * include/sys/stat.h (_S_ISLNK): Add definition.
(S_ISLNG): Ditto.
2004-09-08 18:24:13 +00:00
Earnie Boyd 665352facd * include/_mingw.h: Increment minor version for 3.5 release.
* Makefile.in: Ditto.
2004-09-05 13:51:33 +00:00
Danny Smith d5afcd86f9 * include/malloc.h (__mingw_aligned_offset_malloc,
__mingw_aligned_offset_realloc, __mingw_aligned_malloc,
	__mingw_aligned_realloc, __mingw_aligned_free): Add
	prototypes.
	* mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
	tst-aligned-malloc.c.
	(REPLACE_OBJS): Add mingw-aligned-malloc.o.
2004-08-24 09:02:45 +00:00
Danny Smith ac8cbf3d2d * include/complex.h: Remove __attribute__ ((const)) from
transcendantal and trig functions.  Replace __attribute__ ((const))
	with __MINGW_ATTRIB_CONST on other declarations.
2004-08-07 07:58:01 +00:00
Danny Smith 889a573ad8 * include/wchar.h: Reorganize, avoid including other headers. 2004-08-07 07:51:14 +00:00
Danny Smith a794235489 * include/string.h (memchr, memcmp, strchr, strcmp, strcspn)
(strlen, strncmp, strpbrk, strrchr, strspn, strstr): Add pure
        attribute.
2004-08-06 21:49:54 +00:00
Danny Smith 8b7083824a * include/dirent.h (struct _wdirent): Remove obsolete comment. 2004-07-30 08:27:29 +00:00
Danny Smith 57cb31d40c * include/string.h: Revert 2004-07-26 additions of
__ATTRIBUTE_PURE.
2004-07-30 08:19:58 +00:00
Danny Smith dcbe26ba3c * include/_mingw.h: Use only two underscores to uglify
__MINGW_ATTRIB_* macros.
	* include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
	* includ/setjmp.h: Likewise.

	* include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
	string functions.
	(_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
2004-07-26 09:13:42 +00:00
Danny Smith 174e6ff064 * include/string.h: Group wide string functions together,
and protect with _WSTRING_DEFINED.
2004-07-26 04:12:11 +00:00
Danny Smith 751ba44030 * include/_mingw.h (_MINGW_ATTR_*): Replace with
__MINGW_ATTRIB_*.
	* include/stdlib.h (_ATTRIB_NORETURN): Replace with
	__MINGW_ATTRIB_NOREURN, throughout.
	(malloc): Declare with __MINGW_ATTRIB_MALLOC.
	(calloc): Likewise.
	(abs): Declare with __MINGW_ATTRIB_CONST.
	(labs): Likewise.
	(div): Likewise.
	(ldiv): Likewise.
	(lldiv): Likewise.
	(_rotl): Likewise.
	(_rotr): Likewise.
	(_lrotl): Likewise.
	(_lrotr): Likewise.
	* include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2004-07-25 11:23:43 +00:00
Danny Smith cc054d9d26 * include/_mingw.h: Undefine __attribute__.
(__MINGW_ATTR_NORETURN): New define.
	(__MINGW_ATTR_CONST): New define.
	(__MINGW_ATTR_MALLOC): New define.
	(__MINGW_ATTR_PURE): New define.
	(_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
	expansions.
2004-07-21 10:59:54 +00:00
Danny Smith f451556720 * include/time.h (__time64_t): Add missing ';'. 2004-07-19 22:51:38 +00:00
Danny Smith cd341e5613 * include/math.h: Guard ISO C99 additions with __cplusplus
not __GLIBCPP__.
2004-07-17 05:15:26 +00:00
Danny Smith 75ccca2f65 2004-07-15 "dgun" <dgun@umpire.com>
* include/complex.h (conj): Correct typo in prototype.
2004-07-15 20:20:22 +00:00
Danny Smith 4bf283e0e2 * include/math.h: Add pragma GCC system_header. 2004-07-15 11:39:15 +00:00
Earnie Boyd ef72590eb1 * include/limits.h: Change to new file header preamble. 2004-07-13 11:11:36 +00:00
Earnie Boyd aa726b09ae * include/_mingw.h: Increment minor version for 3.4 release.
* Makefile.in: Ditto.
2004-07-13 11:04:25 +00:00
Danny Smith 1b0314715b * include/unistd.h (ftruncate): Add inline definition.
* mingwex/ftruncate.c: New file.
	* mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2004-07-11 10:01:41 +00:00
Danny Smith 8261a23149 * include/time.h: Do not include sys/types.h. 2004-07-10 04:06:09 +00:00
Danny Smith 64b9893f0d 2 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
(MATH_OBJS): Remove pow,o.
	* include/math.h (pow): Declare with _CRTIMP.
	Add comment on how to avoid excess precision problems.
2004-07-02 10:01:51 +00:00
Danny Smith 81223d017f 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
Danny Smith  <dannysmith@users.sourceforge.net>

	* include/stdio.h (fopen64): Add inline function.
	(fseeko64): Add prototype.
	(ftello64): Add inline function.
	* include/io.h (lseek64): Add inline function.
	* include/sys/types (off64_t): Add typedef.
	(fpos64_t): Add typedef.
        * mingwex/fopen64.c: New file.
        * mingwex/fseeko64.c: New file.
        * mingwex/ftello64.c: New file.
        * mingwex/lseek64.c: New file.
	* mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
	fseeko.64.c, ftello64.c, lseek64.c.
	(STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.

2004-06-30  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/stdio.h (__mingw_fseeko64): Add prototype.
	* mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
	(__mingw_fwrite): Handle huge files.
2004-06-30 04:51:18 +00:00
Luke Dunstan cdb055db02 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2004-06-01 14:09:20 +00:00
Earnie Boyd 4d6c899474 * CONTRIBUTORS: New file.
* DISCLAIMER: Ditto.
	* CRT_noglob.c: Reword copyright and disclaimer.  Move Contributors
	section CONTRIBUTORS file.  Remove RCS tags.
	* CRTFmode.c: Ditto.
	* CRTglob.c: Ditto.
	* CRTinit.c: Ditto.
	* crt1.c: Ditto.
	* crtdll.dev: Ditto.
	* dllcrt1.c: Ditto.
	* dllmain.c: Ditto.
	* gccmain.c: Ditto.
	* init.c: Ditto.
	* isascii.c: Ditto.
	* iscsym.c: Ditto.
	* iscsymf.c: Ditto.
	* jamfile: Ditto.
	* main.c: Ditto.
	* msvcrt.def.in: Ditto.
	* strcasecmp.c: Ditto.
	* toascii.c: Ditto.
	* wcscmpi.c: Ditto.
	* include/assert.h: Ditto.
	* include/conio.h: Ditto.
	* 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/fcntl.h: Ditto.
	* include/float.h: Ditto.
	* include/io.h: Ditto.
	* include/locale.h: Ditto.
	* include/malloc.h: Ditto.
	* include/math.h: Ditto.
	* include/process.h: Ditto.
	* include/setjmp.h: Ditto.
	* include/share.h: Ditto.
	* include/signal.h: Ditto.
	* include/stdio.h: Ditto.
	* include/stdlib.h: Ditto.
	* include/string.h: Ditto.
	* include/tchar.h: Ditto.
	* include/time.h: Ditto.
	* include/wchar.h: Ditto.
	* include/sys/locking.h: Ditto.
	* include/sys/param.h: Ditto.
	* include/sys/stat.h: Ditto.
	* include/sys/timeb.h: Ditto.
	* include/sys/types.h: Ditto.
	* include/sys/utime.h: Ditto.
	* mingwex/dirent.c: Ditto.
2004-04-20 22:49:32 +00:00
Earnie Boyd 81e7a69f5a * include/_mingw.h: Revert to primary release 3 and increment minor
release to 3.
2004-04-19 16:58:40 +00:00
Danny Smith 4289ebdbfb 2004-03-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h: (_findfirst): Correct prototype.

2004-03-30  Hans Leidekker  <hans@it.vu.nl>

	* include/io.h: (_findnext, _findclose): Correct prototype.
2004-03-30 21:49:12 +00:00
Luke Dunstan da2cf24aba 2004-03-28 Hans Leidekker <hans@it.vu.nl>
* include/math.h (FP_*): Add defines.
2004-03-29 13:57:04 +00:00
Danny Smith ff9f5c8330 Add prototypes for new msvcrt.dll versions
* include/_mingw.h (__MSVCRT_VERSION__): Define default as 0x0600.

	* include/time.h (__time64_t): Add typedef.
	(_mktime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
	(_ctime64): Likewise.
	(_wctime64): Likewise.
	(_gmtime64): Likewise.
	(_localtime64): Likewise.
	(wcsftime): Move into _WTIME_DEFINED block.
	Regroup non-ANSI prototypes.

	* include/io.h: Include <stdint.h>.
	(__finddata64_t): Add struct definition.
	(__wfinddata64_t): Likewise.
	(_findfirst64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
	(_findnext64): Likewise.
	(_wfindfirst64): Likewise.
	(_wfindnext64): Likewise.

	* include/sys/timeb.h (__timeb64): Add struct definition.
	(_ftime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.

	* include/sys/utime.h (__utimbuf64): Add struct definition.
	(_utime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
	(_futime64): Likewise.
	(_wutime64): Likewise.

	* include/sys/stat.h (__stat64):  Add struct definition.
	(_fstat64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
	(_stat64): Likewise.
	(_wstat64): Likwise.

	* include/sys/types.h (__time64_t):  Add typedef.

	* include/wchar.h (__wfinddata64_t): Add structure definition.
	(__stat64): Likewise.
	(_wctime64): Add prototype for __MSVCRT_VERSION__ >= 0x0601.
	(_wfindfirst64): Likewise.
	(_wfindnext64): Likewise.
	(_wutime64): Likewise.
	(_wstat64): Likwise.

	* include/malloc.h (_aligned_free): Add prototype for
	__MSVCRT_VERSION__ >= 0x0700.
	(_aligned_malloc): Likewise.
	(_aligned_offset_malloc): Likewise.
	(_aligned_offset_realloc): Likewise.
	(_aligned_realloc): Likewise.

	* include/string.h (_wcserror): Add prototype for
	__MSVCRT_VERSION__ >= 0x0700.
	(__wcserror): Likewise.

	* include/math.h (_set_SSE2_enable): Add prototype for
	__MSVCRT_VERSION__ >= 0x0701.
2004-03-26 11:30:24 +00:00