ObjFW  Check-in [ab9eb34112]

Overview
Comment:Don't try to use madvise on win32.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ab9eb34112ba4a8155fdc3472ed81dfdf7a5622f80660b40265d54aed2071016
User & Date: js on 2008-12-22 03:05:02
Other Links: manifest | tags
Context
2008-12-22
04:33
When crosscompiling for win32, use wine for the tests, if possible. check-in: fa7251681f user: js tags: trunk
03:05
Don't try to use madvise on win32. check-in: ab9eb34112 user: js tags: trunk
03:00
Check for pthreads. check-in: 7d050bfb2d user: js tags: trunk
Changes

Modified src/OFString.m from [a8b4eb7167] to [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)