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
Earnie Boyd
cdff6e0e16
* config.guess, config.sub: Update with versions from ftp.gnu.org.
2003-07-03 15:15:56 +00:00
Danny Smith
235f653a53
* mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
...
* mingwex/math/truncf.c (truncf): Likewise.
* mingwex/math/truncl.c (truncl): Likewise.
* mingwex/math/modff.c (modff): Likewise.
* mingwex/math/modfl.c (modfl): Likewise.
2003-07-03 11:24:18 +00:00
Danny Smith
78b8a13965
* include/search.h: New file.
...
* include/stdlib.h: Add comment about qsort, bsearch in
search.h.
* test_headers.c: Include search.h.
* moldname.def.in (lfind, lsearch): Add.
2003-07-03 07:50:53 +00:00
Danny Smith
e298efab0a
* include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
...
_execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.
2003-07-02 22:09:25 +00:00
Earnie Boyd
acd2330e32
* include/_mingw.h (small, hyper): Change to __small and __hyper to
...
avoid user space name conflicts.
2003-07-01 23:34:36 +00:00
Earnie Boyd
e21a622054
* mingwex/math/tgamma.c, tgammaf.c, tgammal.c (small):
...
Rename to Small (case difference).
2003-07-01 13:55:47 +00:00
Earnie Boyd
fecdb8380e
* include/_mingw.h (__int32, __int16, __int8, small, hyper): Define.
...
Note: Also added to w32api/include/basetyps.h.
2003-07-01 12:57:53 +00:00
Earnie Boyd
e7f4ab4d51
Oops, Forgot to submit the change log
2003-06-19 02:06:04 +00:00
Earnie Boyd
2302957c53
* include/dirent.h (dirent): Make d_name and array instead of a pointer.
...
* mingwex/dirent.c: Modifications througout to fill d_name array.
* Makefile.in (LIBS): Add new MSVCRT libraries libmsvcr70 and
libmsvcr71, including debug versions.
(msvcr70.def, msvcr70d.def, msvcr71.def, msvcr71.def): New targets.
2003-06-18 13:54:47 +00:00
Danny Smith
0d7e4ab2ba
* msvcrt.def.in (__badioinfo, __lc_codepage, __lc_handle,
...
__pioinfo, __setlc_active, _unguarded_readlc_active, _dstbias):
Mark as DATA.
2003-06-17 23:08:26 +00:00
Danny Smith
ea6ce1d0de
2003-05-30 Sascha Sommer <saschasommer@freenet.de>
...
* include/sys/types.h (_ssize_t, ssize_t): Add typedefs.
2003-05-30 02:42:07 +00:00
Danny Smith
8ed969331b
* include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,
...
but still protect inline definition with __STRICT_ANSI__
2003-05-15 22:28:57 +00:00
Danny Smith
90e1332c38
Remove isascii.o, add isascii.c to repository
2003-05-15 22:21:00 +00:00
Danny Smith
620c28a975
* string_old.c: Remove, splitting into...
...
* strcasecmp.c: New file.
* strncasecmp.c: New file.
* wscmpi.c : New file.
* ctype_old.c: Remove, splitting into...
* isascii.c: New file.
* iscsym.c: New file.
* iscsymf.c: New file.
* toascii.c: New file.
* Makefile.in (MOLD_OBJS): Adjust.
(SRCDIST_FILES): Adjust.
2003-05-15 00:21:12 +00:00
Danny Smith
3927f0a891
* include/math.h (fabs) : Remove inline definition.
...
(fabsf): Likewise.
(fabsl): Likewise.
2003-05-14 01:03:20 +00:00
Earnie Boyd
85051ee6c1
* include/_mingw.h: Change version to 3.0
...
* Makefile.in: Ditto.
2003-05-07 03:12:17 +00:00
Earnie Boyd
4c6bc0ed42
Uh hum, just not my day
2003-05-06 16:04:25 +00:00
Earnie Boyd
60e9842b39
* configure: Regenerate
2003-05-06 14:48:34 +00:00
Earnie Boyd
3a1f652308
* configure.in (W32API_INCLUDE): Need the -I switch in the value.
...
* mingwex/configure.in (W32API_INCLUDE): Ditto.
* profile/configure.in (W32API_INCLUDE): Ditto.
2003-05-06 14:46:06 +00:00
Earnie Boyd
98a430bcbe
Oops. Add ending quotes to CFLAGS value.
2003-05-06 13:35:20 +00:00
Earnie Boyd
42fbaad1e8
* configure.in (CFLAGS): Remove -D__USE_CRTIMP=1 due to possibilites
...
of multiply defined symbols if the symbols is defined locally. E.G.:
A local definition of malloc causes this problem.
* configure: Regenerate.
* profile/Makefile.in (W32API_INCLUDE): New variable.
(ALL_CFLAGS): Use W32API_INCLUDE value.
(ALL_CXXFLAGS): Ditto.
(gcrt0.o gcrt1.o gcrt2.o): Use ALL_CFLAGS instead of CFLAGS.
Thanks to Jeff Bonggren <jbon@users.sf.net>.
* profile/configure.in (W32API_INCLUDE): Set default value.
* profile/configure: Regenerate.
* mingwex/Makefile.in (W32API_INCLUDE): New variable.
(ALL_CFLAGS): Use W32API-INCLUDE value.
(ALL_CXXFLAGS): Ditto.
* mingwex/configure.in (W32API_INCLUDE): Set default value.
* mingwex/configure: Regenerate.
2003-05-06 13:26:44 +00:00
Earnie Boyd
fe2f86961e
* Makefile.in (W32API_INCLUDE): New variable.
...
(ALL_CFLAGS): Include W32API_INCLUDE value.
(ALL_CXXFLAGS): Ditto.
* configure.in (CFLAGS): Add -D__USE_CRTIMP=1 to default values.
(W32API_INCLUDE): Set default value.
* configure: Regenerate.
2003-05-05 16:04:11 +00:00
Earnie Boyd
000cfc2eb2
* configure.in (LIBM_A): Define for cygwin target.
...
* configure (LIBM_A): Ditto.
2003-04-11 12:35:51 +00:00
Danny Smith
29d0fe3f74
* include/time.h (strftime): Remove duplicate declaration.
2003-04-07 01:31:37 +00:00
Danny Smith
ce5435df0b
* include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2003-03-31 21:11:13 +00:00
Danny Smith
48051a71ce
Get rid of some warnings
...
* mingwex/dirent.c (_topendir): Eliminate signed/unsigned warning.
* mingwex/strtoimax.c (strtoimax): Likewise.
* mingwex/wcstoimax.c (wcstoimax): Likewise.
* mingwex/wtoll.c (wtoll): Remove unnecessary ';'
* mingwex/fesentenv.c: Include float.h.
* mingwex/math/powl.c: Eliminate type punning/strict aliasing
warning.
* mingwex/math/tanhl.c: Eliminate signed/unsigned warning in
constants.
* mingwex/math/tgammal.c: Likewise.
2003-03-17 01:03:43 +00:00
Danny Smith
f99ee1608c
* include/utime.h: New file, forwarding to sys/utime.h.
2003-03-16 22:23:58 +00:00
Danny Smith
5652f74ed2
* include/sys/param.h (MAXPATHLEN): Define.
2003-03-16 22:18:05 +00:00
Danny Smith
e685ccffdf
* include/tchar.h: Ansi-fy a comment.
2003-03-16 22:15:19 +00:00
Danny Smith
dcbe33d83a
* profile/profile.h (mcount): Use __builtin_return_address
...
rather than __asm statements.
* profile/Makefile.in: Remove special rule for mcount.o
Specify dependencies for mcount.o profil.o gmon.o.
2003-03-16 22:12:01 +00:00
Danny Smith
970f752c8c
* include/stdlib.h (qsort): Remove const from first parm.
...
Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
2003-03-11 03:00:50 +00:00
Danny Smith
2b02bd3c3f
2003-03-03 Christopher Faylor <cgf@redhat.com>
...
* mingwex/getopt.c: Refresh from NetBSD sources.
2003-03-03 10:27:57 +00:00