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

setup.h: WinCE build adjustment

This commit is contained in:
Mark Salisbury 2012-06-18 18:44:43 +02:00 committed by Yang Tse
parent 05f6f2497a
commit 5a8649863c

View File

@ -349,11 +349,13 @@
# include <io.h>
# include <sys/types.h>
# include <sys/stat.h>
# ifndef _WIN32_WCE
# 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)
# define struct_stat struct _stat
# endif
# define LSEEK_ERROR (long)-1
#endif