* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
This commit is contained in:
parent
12a410132d
commit
a1d1d8ab80
|
@ -1,3 +1,7 @@
|
|||
2005-03-31 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/_mingw.h (__MINGW_ATTRIB_NONNULL): Define.
|
||||
|
||||
2005-03-24 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/stdio.h (__mingw_fwrite): Change return value to
|
||||
|
|
|
@ -136,6 +136,13 @@
|
|||
#define __MINGW_ATTRIB_PURE
|
||||
#endif
|
||||
|
||||
/* Attribute `nonnull' was valid as of gcc 3.3. */
|
||||
#if (__GNUC__ > 3 ||( __GNUC__ == 3 && __GNUC_MINOR >= 3))
|
||||
#define __MINGW_ATTRIB_NONNULL(args...) __attribute__ ((__nonnull__ (args)))
|
||||
#else
|
||||
#define __MINGW_ATTRIB_NONNULL(args...)
|
||||
#endif /* GNUC >= 3.3 */
|
||||
|
||||
#ifndef __MSVCRT_VERSION__
|
||||
/* High byte is the major version, low byte is the minor. */
|
||||
# define __MSVCRT_VERSION__ 0x0600
|
||||
|
|
Loading…
Reference in New Issue