diff options
author | Yang Tse <yangsita@gmail.com> | 2011-10-31 22:42:43 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-10-31 22:42:43 +0100 |
commit | 49e3b2e03a809b86fb7b6a48d36ed0a8397cdfb6 (patch) | |
tree | 56440b570a6c7e668945a31e47f332295ce99843 /lib | |
parent | 8bfc3a800aea9f64efde9faf46311b513329f453 (diff) |
setup.h: fix compiler warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/setup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h index 84c9b1feb..0b74c8e57 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -319,6 +319,7 @@ # include <io.h> # include <sys/types.h> # include <sys/stat.h> +# undef lseek # define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence) # define fstat(fdes,stp) _fstati64(fdes, stp) # define stat(fname,stp) _stati64(fname, stp) @@ -334,6 +335,7 @@ # include <io.h> # include <sys/types.h> # include <sys/stat.h> +# undef lseek # define lseek(fdes,offset,whence) _lseek(fdes, (long)offset, whence) # define fstat(fdes,stp) _fstat(fdes, stp) # define stat(fname,stp) _stat(fname, stp) |