wchar follow-up (trunk only)
- ensure that wchar.h is included even if it is not included from another system header file as it is on some platforms. - attempt to make the NHWCHAR_P definition more appropriate for more platforms.
This commit is contained in:
@@ -264,7 +264,14 @@ typedef genericptr genericptr_t; /* (void *) or (char *) */
|
||||
# define SHORT_P int
|
||||
# define BOOLEAN_P int
|
||||
# define ALIGNTYP_P int
|
||||
# define NHWCHAR_P int
|
||||
# if defined(UNICODE_WIDEWINPORT) && defined(WCHAR_MAX)
|
||||
# if WCHAR_MAX >= INT_MAX
|
||||
# define NHWCHAR_P nhwchar
|
||||
# endif
|
||||
# endif
|
||||
# ifndef NHWCHAR_P
|
||||
# define NHWCHAR_P int
|
||||
# endif
|
||||
# else
|
||||
/* Neither widened nor unwidened prototypes. Argument list expansion
|
||||
* by FDECL/VDECL always empty; all xxx_P vanish so defs aren't needed. */
|
||||
|
||||
Reference in New Issue
Block a user