From cb9021933010823e97114e40c02cd2cef8d78d8f Mon Sep 17 00:00:00 2001 From: "jk7744.park" Date: Wed, 9 Sep 2015 02:36:42 +0900 Subject: tizen 2.3.1 release --- win32/zipup.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'win32/zipup.h') diff --git a/win32/zipup.h b/win32/zipup.h index f65c41e..9505b56 100644 --- a/win32/zipup.h +++ b/win32/zipup.h @@ -1,9 +1,11 @@ /* - Copyright (c) 1990-2005 Info-ZIP. All rights reserved. + win32/zipup.h - Zip 3 - See the accompanying file LICENSE, version 2004-May-22 or later + Copyright (c) 1990-2007 Info-ZIP. All rights reserved. + + See the accompanying file LICENSE, version 2007-Mar-4 or later (the contents of which are also included in zip.h) for terms of use. - If, for some reason, both of these files are missing, the Info-ZIP license + If, for some reason, all these files are missing, the Info-ZIP license also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html */ #ifndef __CYGWIN__ @@ -24,6 +26,7 @@ #define fhow (O_RDONLY|O_BINARY) #define fbad (-1) typedef int ftype; + #if defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__EMX__) # define zopen(n,p) sopen(n,p,SH_DENYNO) #elif defined(__CYGWIN__) || defined(__IBMC__) @@ -31,6 +34,14 @@ typedef int ftype; #else # define zopen(n,p) _sopen(n,p,_SH_DENYNO) #endif +#ifdef UNICODE_SUPPORT +# if defined(__CYGWIN__) || defined(__IBMC__) +# define zwopen(n,p) wopen(n,p) +# else +# define zwopen(n,p) _wsopen(n,p,_SH_DENYNO) +# endif +#endif + #define zread(f,b,n) read(f,b,n) #define zclose(f) close(f) #define zerr(f) (k == (extent)(-1L)) -- cgit v1.2.3