Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
R-base
tre.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tre.patch of Package R-base
Index: R-3.0.1/src/extra/tre/tre-internal.h =================================================================== --- R-3.0.1.orig/src/extra/tre/tre-internal.h +++ R-3.0.1/src/extra/tre/tre-internal.h @@ -17,6 +17,7 @@ #include <wctype.h> #endif /* !HAVE_WCTYPE_H */ +#include <limits.h> #include <ctype.h> #include "tre.h" @@ -48,7 +49,11 @@ /* Wide characters. */ typedef wint_t tre_cint_t; +#if WCHAR_MAX <= INT_MAX #define TRE_CHAR_MAX WCHAR_MAX +#else /* WCHAR_MAX > INT_MAX */ +#define TRE_CHAR_MAX INT_MAX +#endif #ifdef TRE_MULTIBYTE #define TRE_MB_CUR_MAX MB_CUR_MAX
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor