diff options
author | Hector Chu <hectorchu@gmail.com> | 2011-09-07 15:49:56 -0400 |
---|---|---|
committer | Hector Chu <hectorchu@gmail.com> | 2011-09-07 15:49:56 -0400 |
commit | 103c753033a0653fe6674905f6663df4f2a5ebb6 (patch) | |
tree | 7b2a6de9006d8930e97974ffc8849fc71aec1517 /include | |
parent | 8184cb8aa757905aee5ae7af67ec481b16ac1607 (diff) | |
download | go-103c753033a0653fe6674905f6663df4f2a5ebb6.tar.gz |
5a, 5c, 6a, 6c, 8a, 8c: fix Windows file paths
Verified with objdump -W.
R=alex.brainman, rsc
CC=golang-dev
http://codereview.appspot.com/4974061
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h index 0817d77b8..f9ad96334 100644 --- a/include/libc.h +++ b/include/libc.h @@ -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) |