diff options
author | cls%seawood.org <devnull@localhost> | 1999-07-05 19:14:21 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 1999-07-05 19:14:21 +0000 |
commit | 8de5935708c58533b6ba4f86f4b1e757e2abda70 (patch) | |
tree | 1d9d3ecea9bc2dca5ab01046a67e78886f85fc3d | |
parent | a112759589e33c3f640448319236d3add6229205 (diff) | |
download | nspr-hg-8de5935708c58533b6ba4f86f4b1e757e2abda70.tar.gz |
Hit an impasse with windows x-compiling. Need a win32 guru. Cleaned up the detection of HOSTCC and handling of HOSTCFLAGS.
-rw-r--r-- | pr/src/md/windows/w95io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pr/src/md/windows/w95io.c b/pr/src/md/windows/w95io.c index 7978251e..0faeaaa9 100644 --- a/pr/src/md/windows/w95io.c +++ b/pr/src/md/windows/w95io.c @@ -200,7 +200,7 @@ _PR_MD_READ(PRFileDesc *fd, void *buf, PRInt32 len) } PRInt32 -_PR_MD_WRITE(PRFileDesc *fd, void *buf, PRInt32 len) +_PR_MD_WRITE(PRFileDesc *fd, const void *buf, PRInt32 len) { PRInt32 f = fd->secret->md.osfd; PRInt32 bytes; @@ -222,7 +222,7 @@ _PR_MD_WRITE(PRFileDesc *fd, void *buf, PRInt32 len) } /* --- end _PR_MD_WRITE() --- */ PRInt32 -_PR_MD_LSEEK(PRFileDesc *fd, PRInt32 offset, int whence) +_PR_MD_LSEEK(PRFileDesc *fd, PRInt32 offset, PRSeekWhence whence) { DWORD moveMethod; PRInt32 rv; @@ -255,7 +255,7 @@ _PR_MD_LSEEK(PRFileDesc *fd, PRInt32 offset, int whence) } PRInt64 -_PR_MD_LSEEK64(PRFileDesc *fd, PRInt64 offset, int whence) +_PR_MD_LSEEK64(PRFileDesc *fd, PRInt64 offset, PRSeekWhence whence) { DWORD moveMethod; LARGE_INTEGER li; @@ -818,7 +818,7 @@ _PR_MD_RENAME(const char *from, const char *to) } PRInt32 -_PR_MD_ACCESS(const char *name, PRIntn how) +_PR_MD_ACCESS(const char *name, PRAccessHow how) { PRInt32 rv; switch (how) { |