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
b2e2d5d98c
* strncasecmp.c: Reword copyright and disclaimer. Move Contributors
...
section to CONTRIBUTORS file. Remove RCS tags.
2004-04-22 16:34:31 +00:00
Earnie Boyd
956235ae2b
CORRECTION:
...
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and CONTRIBUTORS.
2004-04-22 16:27:00 +00:00
Earnie Boyd
00a85098c4
* DISCLAIMER: Add words about "free to use".
...
* README: Modify "Win32 runtime" to "Microsoft C Runtime".
* Makefile.in (SRCDIST_FILES): Add DISCLAIMER and README.
(inst_docdir): New variable.
(INSTDOCS): Ditto.
(FLAGS_TO_PASS): Include inst_docdir.
(install-dirs): Add inst_docdir.
(install): Add loop for INSTDOCS.
2004-04-22 16:16:25 +00:00
Danny Smith
1a4b7623f4
* mingwex/math/lround.c: Rewrite.
...
* mingwex/math/lroundf.c: Rewrite.
* mingwex/math/lroundl.c: Rewrite.
* mingwex/math/llround.c: Rewrite.
* mingwex/math/llroundf.c: Rewrite.
* mingwex/math/llroundl.c: Rewrite.
2004-04-22 04:38:24 +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
da3c66eb9a
* include/_mingw.h: Revert to primary release 3 and increment minor
...
release to 3.
* Makefile.in (VERSION): Ditto.
2004-04-19 17:01:27 +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
4fc406c935
* crt1.c (_mingw32_init_fmode): Set *_imp___fmode_dll to
...
_fmode if not __MSVCRT__.
2004-04-01 10:04:04 +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
521a0aa9a8
* mingwex/math/round.c: Rewrite.
...
* mingwex/math/roundf.c: Rewrite.
* mingwex/math/roundl.c: Rewrite.
2004-03-29 08:22:20 +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
Danny Smith
4c42aaf277
* include/stdio.h (_fsopen): Add prototype.
...
* include/tchar.h (_tfsopen): Add defines.
Thanks to "Gerik" <gerikr at users dot sourceforge dot net>
2004-03-25 20:30:19 +00:00
Danny Smith
1e4942ab58
* msvcrt.def.in: Add stubs for msvcrt.dll (version 6.10),
...
msvcr70.dll, and msvcr71.dll.
* Makefile.in (msvcr*.def): Define preprocessor __msvcr*__ constant
using basename of output def file.
2004-03-19 09:26:13 +00:00
Danny Smith
7ae33d44c0
* include/malloc.h: Remove __STRICT_ANSI__ guard.
2004-03-13 01:03:31 +00:00
Christopher Faylor
07411d4c2e
* include/process.h: Remove the #endif associated with removal of
...
__STRICT_ANSI__ guard from non-ANSI header.
2004-03-12 16:39:37 +00:00
Danny Smith
f8a024a81b
* include/conio.h: Remove __STRICT_ANSI__ guard from non-ANSI header.
...
* include/direct.h: Ditto.
* include/dirent.h: Ditto.
* include/dos.h: Ditto.
* include/excpt.h: Ditto.
* inlude/fcntl,h
* include/io.h: Ditto.
* inlude/mem.h: Ditto.
* include/memory.h: Ditto.
* include/process.h: Ditto.
* inlude/search.h: Ditto.
* include/share.h: Ditto.
* include/unistd.h: Ditto.
* include/sys/fcntl.h: Ditto.
* include/file.h: Ditto.
* include/sys/locking.h: Ditto.
* include/sys/param.h: Ditto.
* include/sys/stat,h
* 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.
2004-03-11 09:41:08 +00:00
Danny Smith
53a207edfa
* include/_mingw.h (__UNUSED_PARAM): Define macro.
...
* include/wchar.h (fwide): Use it.
(mbsinit): Ditto.
2004-02-21 07:21:36 +00:00
Danny Smith
b5ce07f714
* mingwex/getopt.c: Define IS_POSIXLY_CORRECT as per
...
NetBSD getopt_long.c.
2004-02-05 03:17:46 +00:00
Danny Smith
d11508dd22
* mingwex/strtold.c (__asctoe64) Reorganise. Fix setting error
...
codes and handling of special chars.
2004-02-05 03:12:15 +00:00
Danny Smith
a37903bc43
* include/stdio.h (feof): Add inlined definition.
...
(ferror): Ditto.
2004-02-02 09:18:40 +00:00
Danny Smith
f6565cd1a6
* mingwex/math/ldexpl.c (ldexpl): Call __asm__("fscale")
...
directly, rather than via scabnl.
2004-02-01 02:52:21 +00:00
Danny Smith
416bc45060
* mingwex/math/powl.c (powl): Return infinity if
...
extended precision multiplication of x by log2(y)
overflows.
2004-02-01 00:10:17 +00:00
Danny Smith
d2c7ccfc5f
* mingwex/math/cephes_emath.h (__enan_64): Fix thinko.
...
(__enan_NI16): Fix another one.
(__enan_NBITS): Tidy.
2004-01-31 08:44:01 +00:00
Danny Smith
ff853e0108
* include/stdint.h Fix __STDC_CONSTANT_MACROS for 8 and 16 bit
...
types. (Thanks to John Maddock for report.)
2004-01-17 07:41:54 +00:00
Danny Smith
461d06f79d
2004-01-14 Greg Chicares <chicares@users.sourceforge.net>
...
* include/tchar.h (_puttchar): Define.
2004-01-14 07:53:43 +00:00
Danny Smith
f082663050
* include/stdio.h:(_fileno): Define macro version after both
...
fileno and _fileno functions declared.
* include/stdio.h (_rmtmp, rmtmp): Add prototypes.
* moldnames.def.in (rmtmp) Add stub.
2003-12-13 21:22:34 +00:00
Danny Smith
714b947a1b
2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
...
* include/signal.h (SIG_SGE, SIG_ACK): Add defines.
2003-11-27 08:23:43 +00:00
Danny Smith
b19cda7bab
* include/math.h: Guard ISO C99 additions with __cplusplus
...
not __GLIBCPP__.
2003-10-27 23:51:37 +00:00
Danny Smith
79be64037c
* include/_mingw.h: Define __attribute__((x)) to nothing
...
if not __GNUC__.
2003-10-21 09:50:47 +00:00
Danny Smith
3c7a7a5fca
Add ISO C99 complex support for doubles.
...
* include/complex.h: New file.
* mingwex/complex: New directory.
* mingwex/complex/cabs.c: New file.
* mingwex/complex/cacos.c: New file.
* mingwex/complex/cacosh.c: New file.
* mingwex/complex/casin.c: New file.
* mingwex/complex/casinh.c: New file.
* mingwex/complex/catan.c: New file.
* mingwex/complex/catanh.c: New file.
* mingwex/complex/ccos.c: New file.
* mingwex/complex/ccosh.c: New file.
* mingwex/complex/cexp.c: New file.
* mingwex/complex/cimag.c: New file.
* mingwex/complex/clog.c: New file.
* mingwex/complex/cpow.c: New file.
* mingwex/complex/cproj.c: New file.
* mingwex/complex/creal.c: New file.
* mingwex/complex/csin.c: New file.
* mingwex/complex/csinh.c: New file.
* mingwex/complex/csqrt.c: New file.
* mingwex/complex/ctan.c: New file.
* mingwex/complex/ctanh.c: New file.
* mingwex/Makefile.in (COMPLEX_DISTFILES): New list of
files.
(dist): Use it.
(COMPLEX_OBJS): New list of objects.
(LIB_OBJS): Include it in the library.
2003-10-21 09:43:22 +00:00
Danny Smith
6de52354eb
* include/math.h (cabs): Remove non-ISO prototype.
2003-10-21 09:14:45 +00:00
Danny Smith
359e09e7fd
* mingwex/math/cephes_mconf.h (NAN, NANF, NANL):
...
Use GCC __builtin's if available.
(INFINITY, INFINITYF, INFINITYL): Likewise.
2003-10-21 09:10:51 +00:00
Danny Smith
672126d4f1
* mingwex/math/s_erf.c (erf): Set errno to ERANGE if
...
beyond approximation limit.
* mingwex/math/sf_erf.c (erff): Likewise.
2003-10-21 09:05:24 +00:00
Danny Smith
f25e45973d
* include/stdio.h (_filbuf): Add prototype.
...
(_flsbuf): Add prototype.
(getc): Add inline version.
(putc): Likewise.
(getchar): Likewise.
(putchar): Likewise.
2003-10-17 21:43:31 +00:00
Earnie Boyd
f3d0380417
* include/_mingw.h: Increment version to 3.2.
...
* Makefile.in: Ditto.
2003-10-10 18:25:10 +00:00
Earnie Boyd
79b931ee81
* include/sys/types.h: Revert last change.
2003-10-10 15:09:55 +00:00
Earnie Boyd
92fda2d938
* include/sys/types.h (ssize_t): Correct the definition.
2003-10-10 11:49:36 +00:00
Danny Smith
e1ce6d5f2a
* include/stdio.h (_filbuf): Add prototype.
...
(_flsbuf): Add prototype.
(getc): Add inline version.
(putc): Likewise.
(getchar): Likewise.
(putchar): Likewise.
2003-10-03 10:16:53 +00:00
Danny Smith
c536f54ada
* mingwex/dirent.c (_treaddir): Reset errno to 0 if end
...
of directory.
2003-10-02 21:29:51 +00:00
Danny Smith
3c3b1816d8
* include/stdlib.h: Guard non-ISO functions with
...
!__STRICT_ANSI__, throughout.
2003-09-29 09:16:23 +00:00
Danny Smith
fd4b566a16
* include/io.h (_fileno): Remove prototype.
...
(fileno): Likewise.
(FILENAME_MAX): Define, if needed.
Don't include <stdio.h>.
* include/stdio.h (FILENAME_MAX): Protect against
prior definition.
(_fileno): Define macro implementation.
(fileno): Likewise.
2003-09-24 08:26:23 +00:00
Danny Smith
f610c4f993
* include/inttypes.h: Include _mingw.h.
2003-09-24 01:06:09 +00:00
Danny Smith
8852e9c5f1
* include/_mingw.h (__CRT_INLINE): Define.
...
* include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
throughout
* include/inttypes.h: Likewise.
* include/math.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/wchar.h: Likewise.
* include/wctype.h: Likewise.
2003-09-24 00:41:01 +00:00
Danny Smith
d92d731fa5
2003-09-22 Roland Schwingel <rolandschwingel@users.sourceforge.net>
...
* mingwex/dirent.c (_topendir): Allocate enough memory for
DIR struct in UNICODE case too.
2003-09-22 21:32:52 +00:00
Earnie Boyd
7fe8e90299
* include/_mingw.h: Increment version to 3.2.
...
* Makefile.in: Ditto.
2003-09-15 15:21:53 +00:00