Fossil

Check-in [e3fe51e1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix fallback definitions of R_OK/W_OK, make them the same as Microsoft's defenitions.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:e3fe51e1e899b418b0dfe3c8905fc5c6d9f93312b00d12243f82210f59b4c074
User & Date: jan.nijtmans 2017-06-15 13:47:40
Original Comment: Fix fallback definitions of R_OK/W_OK, make them the same as Microsoft's defenitions.
Context
2017-06-16
11:38
Add -DSQLITE_OMIT_GET_TABLE to the compilation flags for SQLite check-in: 33a13b80 user: jan.nijtmans tags: trunk
2017-06-15
13:47
Fix fallback definitions of R_OK/W_OK, make them the same as Microsoft's definitions. check-in: e3fe51e1 user: jan.nijtmans tags: trunk
13:44
Update the homepage to include "airliner wifi" in the same performance category "dial-up". check-in: 222e9ea8 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to win/include/unistd.h.

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#define F_OK 0
#endif /* not F_OK */

#ifndef X_OK
#define X_OK 1
#endif /* not X_OK */

#ifndef R_OK
#define R_OK 2
#endif /* not R_OK */

#ifndef W_OK
#define W_OK 4
#endif /* not W_OK */

#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)



#endif







|
|
|

|
|
|







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#define F_OK 0
#endif /* not F_OK */

#ifndef X_OK
#define X_OK 1
#endif /* not X_OK */

#ifndef W_OK
#define W_OK 2
#endif /* not W_OK */

#ifndef R_OK
#define R_OK 4
#endif /* not R_OK */

#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)



#endif