1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

setup.h: fix compiler warning

This commit is contained in:
Yang Tse 2011-10-31 22:42:43 +01:00
parent 8bfc3a800a
commit 49e3b2e03a
2 changed files with 4 additions and 0 deletions

View File

@ -319,6 +319,7 @@
# include <io.h> # include <io.h>
# include <sys/types.h> # include <sys/types.h>
# include <sys/stat.h> # include <sys/stat.h>
# undef lseek
# define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence) # define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence)
# define fstat(fdes,stp) _fstati64(fdes, stp) # define fstat(fdes,stp) _fstati64(fdes, stp)
# define stat(fname,stp) _stati64(fname, stp) # define stat(fname,stp) _stati64(fname, stp)
@ -334,6 +335,7 @@
# include <io.h> # include <io.h>
# include <sys/types.h> # include <sys/types.h>
# include <sys/stat.h> # include <sys/stat.h>
# undef lseek
# define lseek(fdes,offset,whence) _lseek(fdes, (long)offset, whence) # define lseek(fdes,offset,whence) _lseek(fdes, (long)offset, whence)
# define fstat(fdes,stp) _fstat(fdes, stp) # define fstat(fdes,stp) _fstat(fdes, stp)
# define stat(fname,stp) _stat(fname, stp) # define stat(fname,stp) _stat(fname, stp)

View File

@ -166,6 +166,7 @@
# include <io.h> # include <io.h>
# include <sys/types.h> # include <sys/types.h>
# include <sys/stat.h> # include <sys/stat.h>
# undef lseek
# define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence) # define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence)
# define fstat(fdes,stp) _fstati64(fdes, stp) # define fstat(fdes,stp) _fstati64(fdes, stp)
# define stat(fname,stp) _stati64(fname, stp) # define stat(fname,stp) _stati64(fname, stp)
@ -181,6 +182,7 @@
# include <io.h> # include <io.h>
# include <sys/types.h> # include <sys/types.h>
# include <sys/stat.h> # include <sys/stat.h>
# undef lseek
# define lseek(fdes,offset,whence) _lseek(fdes, (long)offset, whence) # define lseek(fdes,offset,whence) _lseek(fdes, (long)offset, whence)
# define fstat(fdes,stp) _fstat(fdes, stp) # define fstat(fdes,stp) _fstat(fdes, stp)
# define stat(fname,stp) _stat(fname, stp) # define stat(fname,stp) _stat(fname, stp)