* include/_mingw.h (__UNUSED_PARAM): Define macro.

* include/wchar.h (fwide): Use it.
	(mbsinit): Ditto.
This commit is contained in:
Danny Smith
2004-02-21 07:21:36 +00:00
parent 7c03f79971
commit 53a207edfa
3 changed files with 20 additions and 2 deletions

View File

@ -107,6 +107,16 @@
#define __CRT_INLINE extern __inline__
#endif
#ifdef __cplusplus
# define __UNUSED_PARAM(x)
#else
# ifdef __GNUC__
# define __UNUSED_PARAM(x) x __attribute__((unused))
# else
# define __UNUSED_PARAM(x) x
# endif
#endif
#define __MINGW32_VERSION 4.0
#define __MINGW32_MAJOR_VERSION 4
#define __MINGW32_MINOR_VERSION 0