mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
5a, 5c, 6a, 6c, 8a, 8c: fix Windows file paths
Verified with objdump -W. R=alex.brainman, rsc CC=golang-dev https://golang.org/cl/4974061
This commit is contained in:
parent
08ae1a5a23
commit
aed2c06dcb
7 changed files with 38 additions and 48 deletions
|
|
@ -307,6 +307,8 @@ extern int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
|
|||
extern int fork(void);
|
||||
extern int pread(int fd, void *buf, int n, int off);
|
||||
extern int pwrite(int fd, void *buf, int n, int off);
|
||||
#undef getwd
|
||||
#define getwd(s, ns) getcwd(s, ns)
|
||||
#undef lseek
|
||||
#define lseek(fd, n, base) _lseeki64(fd, n, base)
|
||||
#define mkdir(path, perm) mkdir(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue