23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#else
#define madvise(addr, len, advise)
#endif
#import "OFString.h"
#import "OFExceptions.h"
#import "OFMacros.h"
static OF_INLINE int
check_utf8(const char *str, size_t len)
{
size_t i;
BOOL utf8;
|
>
>
>
>
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#else
#define madvise(addr, len, advise)
#endif
#import "OFString.h"
#import "OFExceptions.h"
#import "OFMacros.h"
#ifndef HAVE_ASPRINTF
#import "asprintf.h"
#endif
static OF_INLINE int
check_utf8(const char *str, size_t len)
{
size_t i;
BOOL utf8;
|