From: Mark Salisbury Date: Mon, 18 Jun 2012 16:44:43 +0000 (+0200) Subject: setup.h: WinCE build adjustment X-Git-Tag: curl-7_27_0~168 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a8649863c60e248e224d648dfb1cdbd88b05089;p=thirdparty%2Fcurl.git setup.h: WinCE build adjustment --- diff --git a/lib/setup.h b/lib/setup.h index a219080be0..4b4876131e 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -349,11 +349,13 @@ # include # include # include -# 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 +# 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