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:
parent
8bfc3a800a
commit
49e3b2e03a
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user