ObjFW  Diff

Differences From Artifact [a8b4eb7167]:

To Artifact [c064e2be95]:


11
12
13
14
15
16
17

18



19
20
21
22
23
24
25

#import "config.h"

#import <stdlib.h>
#import <string.h>
#import <ctype.h>


#import <sys/mman.h>




#import "OFString.h"
#import "OFExceptions.h"
#import "OFMacros.h"

static OF_INLINE int
check_utf8(const char *str, size_t len)







>

>
>
>







11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

#import "config.h"

#import <stdlib.h>
#import <string.h>
#import <ctype.h>

#ifndef _WIN32
#import <sys/mman.h>
#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)