Chris Sutcliffe
ecf22d8044
2011-05-22 Antoine LECA <antoinel@users.sourceforge.net>
...
* include/_mingw.h: Define GCC system_header only if PCC is not defined.
* include/stdlib.h: Fix a long-standing typo which prevented correct use of
the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h>
is included before <ctype.h>.
2011-05-23 01:01:18 +00:00
Chris Sutcliffe
1f440e4dbe
2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.18.
2010-03-07 03:10:38 +00:00
Chris Sutcliffe
f94e2b9f58
2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
...
Issue [2134161]: time64 functions and types for msvcrt >= 8.0
(initial implementation)
* new type: __time32_t
* new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
__stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
__wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t
* new functions: _ctime32, _difftime32, _difftime64, _findfirst32
_findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
_findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
_futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
_mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
_wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
_wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
_wstat32i64, _wstat64i32,_wutime32
* new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
_fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
_stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
_wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
2010-02-17 02:41:06 +00:00
Chris Sutcliffe
ff928075e9
2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.17.
2009-11-28 06:07:27 +00:00
Chris Sutcliffe
22fa213129
2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.16.
2009-08-15 02:50:19 +00:00
Chris Sutcliffe
f9a5b8ea6a
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
...
* include/_mingw.h: Changes required for PCC compiler.
2009-07-18 14:56:47 +00:00
Chris Sutcliffe
45cda16a7f
2009-01-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.15.2.
2009-01-10 18:42:32 +00:00
Chris Sutcliffe
665ca5231d
2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.15.1 and introduce
__MINGW32_PATCHLEVEL variable.
2008-10-04 22:27:15 +00:00
Chris Sutcliffe
49c5a1a6b2
2008-09-07 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.15.
2008-09-07 21:35:38 +00:00
Keith Marshall
20167d0a5f
Implement conditional replacement for printf() family functions.
2008-08-30 17:27:18 +00:00
Chris Sutcliffe
87b42b7738
2007-12-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.14.
2007-12-28 00:33:04 +00:00
Chris Sutcliffe
ed02170672
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.13.
2007-08-03 22:36:59 +00:00
Danny Smith
3d7e738f72
* include/_mingw.h (__MINGW_NOTHROW): Define.
2007-06-22 09:19:25 +00:00
Chris Sutcliffe
a37bc48dca
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.12.
2007-03-26 02:11:07 +00:00
Danny Smith
3246efd513
2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
...
* include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__
2007-03-22 09:43:48 +00:00
Danny Smith
a4ad579228
* include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.
2007-03-18 00:23:44 +00:00
Danny Smith
ed897cdfa6
* include/_mingw.h (CRT_INLINE): Correct typo.
2007-01-26 00:20:14 +00:00
Chris Sutcliffe
c6bf4f2a19
2006-11-18 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.11.
* Makefile.in: Ditto.
2006-11-18 22:26:49 +00:00
Danny Smith
cb505ee695
[ mingw-Bugs-1590623 ]
...
* include/_mingw.h (__CRT_INLINE): Use __gnu_inline__ attribute
in C99 mode.
2006-11-08 21:58:18 +00:00
Danny Smith
910edf4a02
* include/_mingw.h (__MINGW_ATTRIB_DEPRECATED): Define.
...
(__MINGW_IMPORT): Ansify.
* include/stdlib.h (_sleep, _beep, _seterrormode): Add
__MINGW_ATTRIB_DEPRECATED.
2006-09-10 21:16:05 +00:00
Chris Sutcliffe
50d838a468
2006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.10.
* Makefile.in: Ditto.
2006-06-26 01:41:48 +00:00
Chris Sutcliffe
8cc9ac230c
2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.9.
* Makefile.in: Ditto.
2005-10-27 21:21:58 +00:00
Chris Sutcliffe
50f196b57f
* Include/_mingw.h: Increment version to 3.8.
...
* Makefile.in: Ditto.
2005-08-13 12:52:43 +00:00
Danny Smith
dcd6cb4308
* include/_mingw.h (__MINGW_GNUC_PREREQ): Define. Use to
...
guard __MINGW_ATTRIB macro definitions.
* include/math.h (logb[fl]): Don't define inlines for
GCC-4.0+ && __FAST_MATH__.
(rint[fl], lrint[fl], llrint[fl]); Likewise. Clean up
line-continuation backslashes.
2005-06-16 11:41:49 +00:00
Danny Smith
c94aabb8c6
* include/_mingw.h (__MINGW_ATTRIBUTE_NONNULL): Fix typo
...
in GNUC version guard.
2005-06-06 08:21:53 +00:00
Danny Smith
38efa5f128
* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Don't define as
...
variadic macro.
* mingwex/mbrtowc.c (__mbrtowc_cp): Use __MINGW_ATTRIB_NONNULL.
Remove unused MBTOWC_FLAGS define.
2005-05-02 08:03:34 +00:00
Danny Smith
a1d1d8ab80
* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
2005-03-31 10:00:26 +00:00
Earnie Boyd
bfe069a3b0
* include/_mingw.h: Increment version to 3.7.
...
* Makefile.in: Ditto.
2005-01-13 19:51:02 +00:00
Danny Smith
23edaf199a
* include/_mingw.h (__int16): Define as short.
2005-01-06 11:20:51 +00:00
Earnie Boyd
97f3a22475
* include/_mingw.h: Increment version to 3.6
...
* Makefile.in: Ditto
2005-01-02 17:17:17 +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
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
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
Earnie Boyd
aa726b09ae
* include/_mingw.h: Increment minor version for 3.4 release.
...
* Makefile.in: Ditto.
2004-07-13 11:04:25 +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
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
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
79be64037c
* include/_mingw.h: Define __attribute__((x)) to nothing
...
if not __GNUC__.
2003-10-21 09:50:47 +00:00
Earnie Boyd
f3d0380417
* include/_mingw.h: Increment version to 3.2.
...
* Makefile.in: Ditto.
2003-10-10 18:25:10 +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
Earnie Boyd
7fe8e90299
* include/_mingw.h: Increment version to 3.2.
...
* Makefile.in: Ditto.
2003-09-15 15:21:53 +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
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
85051ee6c1
* include/_mingw.h: Change version to 3.0
...
* Makefile.in: Ditto.
2003-05-07 03:12:17 +00:00
Danny Smith
ce5435df0b
* include/_mingw.h (_CRTIMP): Make conditional on __USE_CRTIMP.
2003-03-31 21:11:13 +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
992b4c1edc
* include/_mingw.h: Increment version to 2.4.
...
Makefile.in: Ditto.
2002-12-20 15:40:10 +00:00
Earnie Boyd
6f28fb6195
* include/_mingw.h: Increment version to 2.3.
...
Makefile.in: Ditto.
2002-09-05 14:27:29 +00:00