From 569e90b0227cb775823c37738a30affa5b43e52a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 15 Mar 2008 11:16:57 +0000 Subject: [PATCH] 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 --- src/bin/m4/lib/config.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/bin/m4/lib/config.h b/src/bin/m4/lib/config.h index 08b4ce4d1f..e5b00180b2 100644 --- a/src/bin/m4/lib/config.h +++ b/src/bin/m4/lib/config.h @@ -252,7 +252,7 @@ #define HAVE_SIGNED_SIG_ATOMIC_T 1 /* 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. */ /* #undef HAVE_SIGNED_WINT_T */ @@ -421,9 +421,6 @@ /* Define as the maximum value of type 'size_t', if the system doesn't define it. */ /* #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 'size_t'. */ @@ -459,7 +456,7 @@ /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type '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 'wint_t'. */