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
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
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
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
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
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
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
Danny Smith
dc8971488e
* include/_mingw.h: Increment version to 2.0.
...
* Makefile.in: Ditto.
Merge in mingwex branch.
2002-06-13 10:20:48 +00:00
Danny Smith
cb699ad770
* include/mbstring.h: New file.
...
* include/mbctype.h: New file.
Correct some email address dyslexia.
2002-04-20 13:50:04 +00:00
Danny Smith
97b6ae270d
* include/tchar.h (_tputenv): Add UNICODE mappings.
...
(_tsearchenv): Likewise.
(_tmakepath): Likewise.
(_tsplitpath): Likewise.
(_tfullpath): Likewise.
(__TEXT): Make same as define in w32api/include/winnt.h.
2002-04-20 05:13:20 +00:00
Earnie Boyd
4e4871b389
* include/_mingw.h: Increment version.
...
* Makefile.in: Ditto.
2002-04-09 23:47:01 +00:00
Danny Smith
244a8fae42
* include/math.h (DOMAIN, SING, OVERFLOW, UNDERFLOW,
...
TLOSS, PLOSS): Move oldname defines back, following
the underscored names.
2002-04-04 08:54:50 +00:00
Danny Smith
06bdee1cf6
* include/stdio.h (_snwprintf): Correct spelling.
...
(_vsnwprintf): Likewise.
* include/wchar.h (_snwprintf): Correct spelling.
(_vsnwprintf): Likewise.
2002-03-30 01:38:27 +00:00
Danny Smith
eba631d6a9
* moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL).
...
(wpopen): Add if !(__CRTDLL).
* Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to
preserve comments.
(moldname-crtdll.def rule): Likewise.
* moldname-msvcrt.def: Regenerate.
* moldname-crtdll.def: Regenerate.
* include/stdio.h (wpopen):Use prototype, not a define.
(_swnprintf): Add prototype.
(_vswnprintf): Likewise.
Tidy up whitespace.
* include/wchar.h (_swnprintf): Add prototype.
(_vswnprintf): Likewise.
Tidy up whitespace.
2002-03-26 22:23:25 +00:00
Danny Smith
88a820dbcc
* include/malloc.h (_heapinfo): Correct structure definition.
...
(_USEDENTRY,_FREEENTRY): Add defines.
Add comment on platform support for _heap* functions.
(_get_sbh_threshold): Add prototype.
(_set_sbh_threshold): Likewise.
(_expand): Likewise.
2002-01-27 22:54:54 +00:00
Earnie Boyd
be4ee22bbc
Merge MinGW changes
2002-01-25 20:03:56 +00:00
Danny Smith
628ef8b6bb
* include/tchar.h (_TCHAR): Add missing ;.
2002-01-25 03:04:46 +00:00
Danny Smith
159743c264
* include/tchar.h (_TCHAR): Add typedefs.
2002-01-25 03:00:36 +00:00
Earnie Boyd
15a1d3f2fc
* Makefile.in: Increment VERSION.
...
* include/_mingw.h: Ditto.
2001-12-07 21:38:03 +00:00
Earnie Boyd
98a05abd05
Merge MinGW CVS differences
2001-12-05 15:01:06 +00:00
Earnie Boyd
ff1924262a
* include/strings.h: New file.
2001-12-05 13:55:19 +00:00
Robert Collins
4cecec6cde
2001-11-08 Robert Collins <rbtcollins@hotmail.com>
...
* include/errno.h: Fix "errno is not a prototype" warning.
2001-11-07 14:10:25 +00:00
Earnie Boyd
5cf6708ef4
2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
...
* include/io.h (_commit): Add declaration.
Thanks to: "stefan" <stefan@lkcc.org>
2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/stat.h: Make S_IS* macros safer.
2001-10-27 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (EXIT_FAILURE): Change value to 1.
2001-10-12 Danny Smith <dannysmith@users.sourceforge.net>
* include/stdlib.h (__p__environ, __p__wenviron): Use
__STDC__ prototypes.
2001-11-01 19:51:50 +00:00
Earnie Boyd
18508302f9
2001-09-19 Earnie Boyd <earnie@SF.net>
...
* Makefile.in: Remove the /usr from the install target.
(VERSION): Increment.
include/_mingw.h: Ditto.
2001-09-19 15:37:19 +00:00
Earnie Boyd
f244c34bae
* Makefile.in: Increment version.
...
* include/_mingw.h: Ditto.
2001-09-17 12:38:45 +00:00
Earnie Boyd
375dab8418
* include/stdarg.h (va_list): Typedef as __builtin_va_list if
...
__GNUC__ >= 3.
* include/varargs.h (va_list): Ditto.
* include/stdio.h (va_list): Ditto.
2001-08-29 13:43:59 +00:00
Earnie Boyd
386abb05d9
* include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.
...
* include/stdio.h (_IORW): Change constant to 0x0080.
(TMP_MAX): Add new define.
(_P_tmpdir): Ditto.
(_wP_tmpdir): Ditto.
(L_tmpnam): Change constant to 16.
* include/malloc.h: Fix non-ANSI comment after #endif.
* profile/Makefile.in (mkinstalldirs): Correct relative path.
2001-08-05 12:52:43 +00:00
Earnie Boyd
37fb7a2ccb
* include/stdio.h (swscanf): Make first arugument const.
...
* include/wchar.h (swscanf): Ditto.
* include/tchar.h (_tfopen): New _UNICODE define.
(_tgetenv): Ditto.
(_tsetlocale): Ditto.
2001-06-11 18:13:15 +00:00
Earnie Boyd
4c4db90d7e
* include/_mingw.h: Change version to 1.0.
...
Makefile.in: Ditto.
2001-06-04 20:01:10 +00:00
Earnie Boyd
d53c723240
* include/tchar.h: (__TEXT): Remove undef.
...
(_TEXT): Ditto.
(_T): Ditto.
2001-02-21 19:33:42 +00:00
Earnie Boyd
a562294385
Fri Feb 2 10:34:07 2001 Earnie Boyd <earnie@users.sourceforge.net>
...
* include/tchar.h: (__TEXT): Add private macro.
(_TEXT): Modify definition to use __TEXT.
(_T): Ditto.
This change allows the passing of a MACRO as an argument and have that
MACRO resolved first.
Thanks to: Eric PAIRE <eric.paire@ri.silicomp.com>
2001-02-02 16:50:06 +00:00
Earnie Boyd
4ea1be6d1f
* Makefile.in: Increment version to 0.5
...
* include/_mingw.h: Increment minor version
2001-01-31 22:17:17 +00:00
Earnie Boyd
535964b7a4
* include/assert.h: (assert): Remove ; from end of definition
...
Thanks to: AJ Reins <tbisp@qwest.net>
2001-01-30 18:03:23 +00:00
Earnie Boyd
58605e60f6
* include/time.h: (CLOCKS_PER_SEC): Type cast the constant.
...
Thanks to: Cosmin Truta <cosmin@cs.toronto.edu>
2001-01-30 12:44:46 +00:00
Earnie Boyd
2f3ea37bc8
* time.h: (CLOCKS_PER_SEC) Change from FP to integer constant.
2001-01-29 19:05:18 +00:00
Earnie Boyd
39d871d66d
* include/wchar.h: The 2001.01.18 Change was incorrect. The functions
...
are actually C functions. These functions are resolved via the
-lmsvcp60 library and comments were placed in the header.
2001-01-28 18:06:17 +00:00
Earnie Boyd
4586200df3
*include/stdlib.h (__p__pgmptr): add prototype.
...
(__p__wpgmptr): likewise.
(_pgmptr_dll): move declaration from dos.h.
(_wpgmptr_dll): likewise.
(_pgmptr): conditional define (MSVCT/CRTDLL).
(_wpgmptr): likewise.
*include/dos.h (_base*_dll variables): declare only for CRTDLL.
(_os*_dll variables): likewise.
(_pgmptr_dll): remove declaration and associated defines to stdlib.h.
(_wpgmptr_dll): likewise.
2001-01-28 16:40:19 +00:00
Earnie Boyd
cd7053e78b
* include/stdint.h: New file.
2001-01-26 18:52:31 +00:00
Earnie Boyd
74a3cd0a4f
* include/wchar.h: Protect prototypes only declared in the C++ STL
...
from being declared unless __cplusplus is defined.
2001-01-18 15:40:50 +00:00
Earnie Boyd
2762a24302
* include/stdlib.h: Apply Danny Smith patch 102730
...
2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
(_wgetenv) Correction to return type.
2001-01-16 16:43:00 +00:00
Earnie Boyd
49a5f0809b
* include/locale.h: Apply Danny Smith patch 101834
...
2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
(LC_MIN) Add definition.
(LC_MAX) ditto.
(_wsetlocale) Add prototype.
2001-01-16 14:51:03 +00:00
Earnie Boyd
6126c12345
* include/direct.h: add guard around MSVCRT-only prototytpes
...
* include/io.h: add __int64 struct definitions and function prototypes;
add guard for MSVCRT-only prototypes
* include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
* include/stdio.h: add wchar function prototypes (__MSVCRT__);
put wchar functions together to make sync with wchar.h easier
* include/stdlib.h: add wide char functions (__MSVCRT__)
* include/string.h: add string collation functions ( __MSVCRT__)
* include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
* include/tchar.h: add macros and macro function definitions
* include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
enclose more functions in __MSVCRT__ guard;
some oldname wide char function prototypes #if (0)'d
* profile/gmon.h: add guard around BSD-ish typedefs
2000-11-21 02:50:03 +00:00
Christopher Faylor
23ee7c4463
* include/string.h: Use proper prototype for _strerror.
2000-04-10 23:00:27 +00:00
Christopher Faylor
1fd5e000ac
import winsup-2000-02-17 snapshot
2000-02-17 19:38:33 +00:00