Commit Graph

216 Commits

Author SHA1 Message Date
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
Danny Smith f5eb407ed1 * mingwex/getopt.c: New file, copied from cygwin srcs.
* include/getopt.h: New file, copied from cygwin srcs.
	* include/unistd.h: Include getopt.h.
	* mingwex/Makefile.in ((DISTFILES): Add getopt.c.
	(POSIX_OBJS): Add getopt.o.
2003-03-03 01:19:42 +00:00
Danny Smith 4aa3feb899 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdio.h (vscanf): Add prototype.
	(vfscanf): Ditto.
	(vsscanf): Ditto.
	(vwscanf): Ditto.
	(vfwscanf): Ditto.
	(vswscanf): Ditto.
	* include/wchar.h (vwscanf): Add prototype.
	(vfwscanf): Ditto.
	(vswscanf): Ditto.
	* mingwex/snprintf.c: Move to mingwex/stdio.
 	* mingwex/vsnprintf.c: Ditto.
	* mingwex/snwprintf.c: Ditto.
	* mingwex/vsnwprintf.c: Ditto.
	* mingwex/Makefile.in (VPATH): Add $(srcdir)/stdio
	(STDIO_DISTFILES): Add.
	(DISTFILES): Adjust.
	(STDIO_STUB_OBJS): Rename to STDIO_OBJS and add v*scanf objects.
	(LIB_OBJS): Adjust.
	(dist): Adjust.

2003-03-02  Aaron W  LaFramboise   <AWLaFramboise@aol.com>

	* mingwex/stdio: New directory
	* mingwex/stdio/vfscanf.c: New file.
	* mingwex/stdio/vfwscanf.c:  New file.
	* mingwex/stdio/vscanf.c:  New file.
	* mingwex/stdio/vsscanf.c:  New file.
	* mingwex/stdio/vswscanf.c:  New file.
	* mingwex/stdio/vwscanf.c:  New file.
2003-03-02 07:00:48 +00:00
Earnie Boyd 5ffa5aaa5c * Makefile.in (libmsvcrt20.a): Remove target and dependencies.
(libmsvcrt40.a): Ditto.
2003-02-25 13:07:46 +00:00
Earnie Boyd ab664f2d53 Thanks to David Frasier <davidf@sjsoft.com> who inspired portions of
this patch.
	* Makefile.in (libmsvcrtd.a): Add target library.
	(libmoldnamed.a): Ditto.
	(msvcrt.def, msvcrtd.def, msvcrt20.def, msvcrt40.def): Use msvcrt.def.in
	template to create.
	($(srcdir)): Remove explicit reference for depencies of object targets.
	* moldname.def, moldname-msvcrt.def, moldname-crtdll.def, msvcrt.def,
	msvcrt20.def, msvcrt40.def: Remove.
	* msvcrt.def.in: New file (Copy of previous msvcrt.def).
2003-02-21 21:12:29 +00:00
Corinna Vinschen 3f3d479490 * Makefile.in: Make sure libmingwex.a from current build tree is used. 2003-02-20 10:12:15 +00:00
Christopher Faylor 8df75c3736 * profile/Makefile.in (mcount.o): Use ALL_CFLAGS for compilation to ensure
-mno-cygwin where appropriate.  Filter out -O2.
2003-02-14 19:25:12 +00:00
Danny Smith 6a25a6219c Fix typo in last ChangeLog entry. 2003-02-14 00:45:17 +00:00
Danny Smith 4d658cfcd2 * profile/Makefile.in (mcount,o): Use -O1 optimization
switch to compile.
2003-02-14 00:42:35 +00:00
Danny Smith de8eec5609 * include/math.h: Remove _CRTIMP from pow() prototype,
unless __NO_ISOCEXT.
2003-02-10 23:56:04 +00:00
Danny Smith eff24ab9c5 * mingwex/math/cephes_emath.h: Don't redefine INFINITY. 2003-02-10 22:38:36 +00:00
Danny Smith 14e54d7c97 * include/_mingw.h (_CRTIMP): Define for __GNUC__ if
__declspec(dllimport)  supported.
	(__cdecl): Define if not already defined.
	(__stdcall): Likewise.
	* include/dirent.h: Qualify fuctions with __cdecl.
	* include/fenv.h: Likewise.
	* include/inttypes.h: Likewise.
	* include/assert.h: Qualify fuctions with __cdecl. Qualify
	CRT dll imports with _CRTIMP.
	* include/conio.h: Likewise.
	* include/ctype.h: Likewise.
	* include/direct.h: Likewise.
	* include/dos.h: Likewise.
	* include/errno.h: Likewise.
	* include/float.h: Likewise.
	* include/io.h: Likewise.
	* include/locale.h: Likewise.
	* include/malloc.h: Likewise.
	* include/math.h: Likewise.
	* include/mbctype.h: Likewise.
	* include/mbstring.h: Likewise.
	* include/process.h: Likewise.
	* include/setjmp.h: Likewise.
	* include/signal.h: Likewise.
	* include/stdio.h: Likewise.
	* include/stdlib.h: Likewise.
	* include/string.h: Likewise.
	* include/time.h: Likewise.
	* include/wchar.h: Likewise.
	* include/wctype.h: Likewise.
	* include/sys/stat.h: Likewise.
	* include/sys/timeb.h: Likewise.
	* include/sys/utime.h: Likewise.

	* include/ctype.h: Guard ctype inlines with __NO_INLINE__.
	* include/wctype.h: Guard wctype inlines with __NO_INLINE__.

	* include/stdio.h (__VALIST): Guard against prior definition.
2003-02-10 21:13:34 +00:00
Earnie Boyd 994d26a476 * include/_mingw.h: Change version to 3.0
* Makefile.in: Ditto.
2003-02-08 14:58:31 +00:00
Earnie Boyd 9d55ae91b8 * include/stdlib.h: Make words after #endif a comment. 2003-02-08 14:30:29 +00:00
Danny Smith 500ed83f45 * include/locale.h: Include stddef.h for definition of NULL. 2003-02-07 02:13:55 +00:00
Danny Smith 232cca6b0c * include/math.h (tgamma): Correct typo in comment. 2003-01-26 07:04:04 +00:00
Danny Smith 989c97fe14 * mingwex/mingw-fseek.c (INLINE): Remove define.
(__mingw_is_win9x): Remove static inline function.
	(_mingw_fwrite): Use _osver instead of __mingw_is_win9x.
2003-01-26 06:38:43 +00:00
Danny Smith a545b16de6 * mingwex/math/llround.c: Correct function name and
change return value to long long.
2003-01-11 10:52:20 +00:00
Danny Smith 68dea33819 * include/ctype.h (__isascii): Don't cast arg to unsigned.
(iswascii): Likewise.  Correct mask.
	* include/wctype.h (iswascii): Don't cast arg to unsigned.
	Correct mask
2003-01-07 21:05:13 +00:00
Danny Smith 7b061fd844 * include/stdlib.h (_osver, _winver, _winmajor,
_winminor): Declare as direct imports from dll if
	__DECLSPEC_SUPPORTED.
2003-01-03 05:02:18 +00:00
Danny Smith 353549d744 2003-01-01 Danny Smith <dannysmith@users.sourceforge.net>
* pseudo-reloc.c (do_pseudo_reloc): Make static.
	* pseudo-reloc-list.c: New file.
	* crt1.c (_pei386_runtime_relocator): Declare.
	(__mingw_CRTStartup): Call it.
	* dllcrt1.c (_pei386_runtime_relocator): Declare.
	(DllMainCRTStartup): Call it.
	* Makefile.in: Add pseudo-reloc.o pseude-reloc-list.o to
	libmingw32.a.

2003-01-01  Egor Duda  <deo@logos-m.ru>

	* pseudo-reloc.c: New file.
2003-01-01 10:00:39 +00:00
Earnie Boyd 992b4c1edc * include/_mingw.h: Increment version to 2.4.
Makefile.in: Ditto.
2002-12-20 15:40:10 +00:00
Earnie Boyd 51e1a2f296 * include/malloc.h (_alloca): Add definition.
(alloca): Ditto.
2002-12-12 21:00:57 +00:00
Danny Smith 009bcda6f9 * mingwex/math/s_erf.c: New file.
* mingwex/math/sf_erf.c: New file.
	* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
	(MATH_OBJS): Add new objects.
	* include/math.h (erf[f]): Add prototypes.
	(erfc[f]): Add prototypes.
2002-12-08 01:46:42 +00:00
Danny Smith 4c49b9a2a5 * include/math.h: Add traditional/XOPEN math constants.
Add missing ChangeLog entry for 2002-11-27
2002-12-07 08:58:49 +00:00
Danny Smith dc8597f966 * mingwex/math/lgamma.c: New file.
* mingwex/math/lgammaf.c: New file.
	* mingwex/math/lgammal.c: New file.
	* mingwex/math/tgamma.c: New file.
	* mingwex/math/tgammaf.c: New file.
	* mingwex/math/tgammal.c: New file.
	* mingwex/math/cephes_mconf (polevlf): Add float version.
	(p1evlf): Likewise.
	Define _CEPHES_USE_ERRNO.
	* mingwex/Makefile.in (MATH_DISTFILES): Add new files.
	(MATH_OBJS): Add new objects.
	* include/math.h (lgamma[fl]): Add prototypes.
	(tgamma[fl]): Add prototypes.
2002-11-27 03:41:25 +00:00
Danny Smith 5362be5926 Add strtold and wcstold to libmingwex.a
* mingwex/strtold.c: New file.
	* mingwex/wcstold.c: New file.
	* mingwex/ldtoa.c: New file.
	* mingwex/math/cephes_emath.h: New file.
	* mingwex/math/cephes_emath.c: New file.
	* mingwex/Makefile.in (DISTFILES): Add new files.
	(MATH_DISTFILES): Ditto.
	(STDLIB_OBJS): New. Define as strtold.c wcstold.c.
	(MATH_OBJS): Add cephes_emath.o.
	(LIB_OBJS): Add $(STDLIB_OBJS).
	* include/stdlib.h (strtold, wcstold): Add prototypes.
	* include/wchar.h (wcstold): Add prototype.

Add missing ChangeLog entry for 2002-11-09.
2002-11-26 00:11:06 +00:00
Danny Smith 9da547ff26 * include/math.h (sqrt): Remove inline definition.
(sqrtf): Replace inline definition with prototype.
	(sqrtl): Likewise.
	* mingwex/math/sqrtf.c (sqrtf): Set domain error if
	argument less than zero.
	* mingwex/math/sqrtf.c (sqrtl): Likewise.

	Correct typo in 2002-10-30 ChangeLog entry.
2002-11-09 10:44:02 +00:00
Danny Smith 4c8eba2cf3 2002-10-30 Guido Serassio <serassio@libero.it>
* include/stdio.h (_getnaxstdio): Add prototype.
         (_setmaxstdio): Likewise.
2002-10-30 01:07:54 +00:00
Danny Smith aab9ff2a5e 2002-10-19 Kang Li <rubylith@users.sourceforge.net>
* include/fcntl.h (O_SEQUENTIAL): Correct typo.
2002-10-20 04:35:58 +00:00
Danny Smith 1c00ad29b8 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>
* crt1.c: Define new macro __IN_MINGW_RUNTIME before including
	stdlib.h. Comment on reason.
	Define WIN32_MEAN_AND_LEAN before including windows.h
	* include/stdlib.h (_fmode): Protect declaration as dllimported
	variable with __IN_MINGW_RUNTIME.

2002-10-19  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

	* crt1.c: Include stdlib.h.
2002-10-20 04:30:28 +00:00
Danny Smith bea966c0d9 * Makefile.in (CRT0S): Add txtmode.o binmode.o.
(MINGW_OBJS): Add txtmode.o.
	(SRCDIST_FILES): Add txtmode.c binmode.c.
	crt1.c: Don't include fcntrl.h, stdlib.h.
	(_fmode): Declare, without dllimport attribute.
	(__p__fmode): Declare access function for dll's _fmode.
	(_mingw32_init_fmode): Sync dll _fmode with staticly linked
	_fmode for app.
	* txtmode.c: New file.
	* binmode.c: New file.
	* samples/fmode/test2.c: New file.
	* samples/fmode/jamfile: Add test2.exe target.
2002-10-19 20:26:26 +00:00
Danny Smith 798a4740d7 * include/stdint.h (INT64_C, UINT64_C ): Append suffix to let
macros work with C89.
	(INTMAX_C, UINTMAX_C): Likewise.
2002-10-11 02:21:56 +00:00
Danny Smith f98e630084 * include/string.h (strcasecmp): Make extern __inline__.
(strncasecmp): Likewise.
	(wcscmpi): Likewise.
2002-10-11 01:41:31 +00:00
Danny Smith 32fef334cd 2002-10-08 Heiko Gerdau <hg@technosis.de>
* include/tchar.h (_tchdir. _tgetcwd, _tgetdcwd.
	_tmkdir, _trmdir, _tstat): Add ASCII and UNICODE
	mappings.
2002-10-08 20:28:14 +00:00
Danny Smith 66451d9590 * mingwex/math/powil.c: Rename powil to __powil.
* mingwex/math/powl.c: Adjust declaration and call
	to __powil. Remove comment on powil.
	* mingwex/math/powi.c: New file.
	* mingwex/math/powif.c: New file.
	* mingwex/math/pow.c: New file.
	* mingwex/math/cephes_mconf.h. Add double and float
	versions of constants.
	(polevl): Add double precision function.
	(p1evl): Likewise.
	* mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
	powi.c, powif.c.
	(MATH_OBJS): Add pow.o,	powi.o, powif.o.
2002-10-06 23:26:43 +00:00
Danny Smith 3073f3f29d * include/cytpe.h (_imp____mbcur_max): Add missing ';'.
(_imp____mbcur_max_dll): Likewise.
2002-10-03 00:51:25 +00:00
Danny Smith 7c3de623b6 * include/fcntl.h (_fmode): Remove declarations and
compatibility defines.
	(_setmode, setmode): Remove prototypes.
	* include/stdlib (_fmode): Add declarations and
	compatibility defines.  Change type to int.
	* include/io.h (_setmode, setmode): Add prototypes.
	* samples/fmode/all.c: Adjust includes.
	* samples/fmode/test.c: Likewise.
	* crt1.c (_CRT_fmode): Declare as int.
	* CRTfmode.c (_CRT_fmode): Likewise.

	* include/stdlib: Remove comment about MB_CUR_MAX.
2002-10-03 00:49:21 +00:00
Danny Smith 516658560f * include/stdlib.h (_imp____mbcur_max): add missing ';'.
(_imp____mbcur_max_dll): Likewise.
2002-10-02 03:43:33 +00:00
Danny Smith 76f28487ee * mingwex/math/files.txt: Remove inadvertantly added file. 2002-09-19 23:05:27 +00:00
Danny Smith 776044d554 * include/string.h (_strerror): Move into #ifndef
__STRICT_ANSI__ block.
2002-09-19 05:35:30 +00:00
Danny Smith 41cb3243c5 * include/time.h (__need_NULL): Define before including
stddef.h.  Thanks to: R�diger Dehmel  <de@lmnet.de>.
2002-09-17 21:36:02 +00:00
Danny Smith fbf3d133ce 2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
* include/stdio.h: Correct comment about directory separator.
2002-09-16 09:44:06 +00:00
Danny Smith 139b31f7ac * include/sys/time.h (timeval): Add struct definition and
associated macros (copied from w32api/include/winsock.h).
2002-09-12 10:34:54 +00:00
Earnie Boyd 6f28fb6195 * include/_mingw.h: Increment version to 2.3.
Makefile.in: Ditto.
2002-09-05 14:27:29 +00:00
Earnie Boyd 31736d1768 * mingwex/fegetenv.c: Change to \n line endings.
* mingwex/vsnprintf.c: Ditto.
	* mingwex/vsnwprintf.c: Ditto.
2002-09-05 11:51:26 +00:00
Danny Smith 169618f29f * mingwex/math/hypotl.c: Replace with version based on cephes
library.
2002-09-02 03:00:37 +00:00
Danny Smith 933ba4b187 * include/sys/param.h: Add ENDIAN defines.
* test_headers.c: Include sys/param.h.
2002-08-28 21:24:59 +00:00
Danny Smith 5bbbbfba55 * test_headers.c: Don't include varargs.h.
* Makefile.in (test_headers): Don't use -std=xx
	with -xc++. Test -std=gnu89, gnu99 also.
2002-08-28 03:57:16 +00:00
Earnie Boyd 69f710846f * include/sys/param.h: New File. 2002-08-21 12:49:56 +00:00
Earnie Boyd 811b5b0ae4 * include/_mingw.h: Increment version to 2.2.
Makefile.in: Ditto.
2002-08-21 12:18:28 +00:00
Danny Smith cfb5d4db12 * include/math.h (asm): Change to __asm__ throughout.
Expose ISO C99 functions if __GLIBCPP__.
	(hypotf): Use hypot, not _hypot in stub..
2002-08-20 23:26:11 +00:00
Danny Smith aabc7d585a * include/tchar.h: Ansi-fy another comment. 2002-08-20 23:08:14 +00:00
Danny Smith b9b4e3ca9d * include/tchar.h: Ansi-fy comment. 2002-08-20 23:01:42 +00:00
Danny Smith 02d46a6f8a * test_headers.c : New file.
* Makefile.in (test_headers): New target, using it,
	(SRCDIST_FILES): Distribute it.
2002-08-20 22:56:59 +00:00
Earnie Boyd 2c3ef6355b * include/unistd.h: Add include of process.h. 2002-08-14 21:08:43 +00:00
Danny Smith eb7368d4ac * include/stdio.h (_fcloseall): Add prototype. 2002-08-03 23:03:37 +00:00
Danny Smith efd34df5a5 * include/tchar.h (_tfdopen): Correct typo. 2002-07-29 03:05:56 +00:00
Danny Smith b8cdc234c6 Add incomplet long double math support to libmingwex.a 2002-07-29 03:00:10 +00:00
Danny Smith 97858a2641 * include/tchar.h (_getts): Define as _getws for _UNICODE.
(_putts): Define as _putws for _UNICODE.
	Thanks to: Tomasz Pona  <cochisek@poczta.onet.pl>  for report.
2002-06-18 20:48:57 +00:00
Danny Smith 8cb1442e10 * include/float.h: #include_next<float.h> before header guard. 2002-06-18 04:20:14 +00:00
Danny Smith 9fe2a2157b 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/_mingw.h (__MINGW_IMPORT): Check for prior definition before
	defining.
	* include/excpt.h (): Include windef.h not windows.h.
	* include/fcntl.h (_O_SHORT_LIVED): Add define.
	(_chmod): Add prototype.
        (_creat): Correct prototype.
	(SH_DENY*): Rename defines to _SH_DENY*.
	(SH_DENY*): Add Non-ANSI names for _SH_DENY*.
	include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG,
	_IOAPPEND): Add defines.
	(_wfindfirst): Correct prototype.
	(_wfdopen): Add prototype.
	* include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add
	prototypes.
	* include/string.h (_mbschr, _mbstok, _mbsncat): Remove
	 prototypes.
	(_wcsdup): Correct prototype.
	* include/mbstring.h: Remove comments about _mbschr, _mbstok,
	 _mbsncat being in string.h.
	* include/wchar.h (_wfindfirst): Correct prototype.
	* include/tchar.h (_tfdopen): Add _UNICODE mappings.
2002-06-18 04:13:18 +00:00
Earnie Boyd 5ae611458b * include/_mingw.h: Increment to version 2.1.
* Makefile.in: Ditto.
2002-06-15 15:56:58 +00:00