ICU-681 removed an excessive limits.h file under normal usage.
X-SVN-Rev: 3283
This commit is contained in:
parent
9f72e26ee9
commit
2c60711cbc
@ -83,10 +83,8 @@
|
||||
/*
|
||||
* ANSI C headers:
|
||||
* stddef.h defines wchar_t
|
||||
* limits.h defines CHAR_MAX
|
||||
*/
|
||||
#include <stddef.h>
|
||||
#include <limits.h>
|
||||
#include "unicode/umachine.h"
|
||||
/* include the utfXX.h after the following definitions */
|
||||
|
||||
@ -208,6 +206,12 @@ typedef int32_t UTextOffset;
|
||||
|
||||
# error UTF-8 is not implemented, undefine UTF_SIZE or define it to 16
|
||||
|
||||
/*
|
||||
* ANSI C header:
|
||||
* limits.h defines CHAR_MAX
|
||||
*/
|
||||
# include <limits.h>
|
||||
|
||||
/* Define UChar to be compatible with char if possible. */
|
||||
# if CHAR_MAX>=255
|
||||
typedef char UChar;
|
||||
|
Loading…
Reference in New Issue
Block a user