Applied patch by Curtis Wanner: corrects wchar_t handling, and removes a
warning (SIZE_MAX was redefined). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24395 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -252,7 +252,7 @@
|
|||||||
#define HAVE_SIGNED_SIG_ATOMIC_T 1
|
#define HAVE_SIGNED_SIG_ATOMIC_T 1
|
||||||
|
|
||||||
/* Define to 1 if 'wchar_t' is a signed integer type. */
|
/* Define to 1 if 'wchar_t' is a signed integer type. */
|
||||||
#define HAVE_SIGNED_WCHAR_T 1
|
/* #undef HAVE_SIGNED_WCHAR_T */
|
||||||
|
|
||||||
/* Define to 1 if 'wint_t' is a signed integer type. */
|
/* Define to 1 if 'wint_t' is a signed integer type. */
|
||||||
/* #undef HAVE_SIGNED_WINT_T */
|
/* #undef HAVE_SIGNED_WINT_T */
|
||||||
@@ -421,9 +421,6 @@
|
|||||||
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
/* Define as the maximum value of type 'size_t', if the system doesn't define
|
||||||
it. */
|
it. */
|
||||||
/* #undef SIZE_MAX */
|
/* #undef SIZE_MAX */
|
||||||
#ifndef SIZE_MAX
|
|
||||||
# define SIZE_MAX ((size_t) -1)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
||||||
'size_t'. */
|
'size_t'. */
|
||||||
@@ -459,7 +456,7 @@
|
|||||||
|
|
||||||
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
||||||
'wchar_t'. */
|
'wchar_t'. */
|
||||||
#define WCHAR_T_SUFFIX
|
#define WCHAR_T_SUFFIX u
|
||||||
|
|
||||||
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
|
||||||
'wint_t'. */
|
'wint_t'. */
|
||||||
|
|||||||
Reference in New Issue
Block a user