projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation fixes - wxGTK compiles but not links
[wxWidgets.git]
/
src
/
common
/
unzip.c
diff --git
a/src/common/unzip.c
b/src/common/unzip.c
index be48958cfb2c8938766f20cefc34017b70405f75..551b1c6b2d78394eb3be4f5d8bef730dd6e58baa 100644
(file)
--- a/
src/common/unzip.c
+++ b/
src/common/unzip.c
@@
-358,7
+358,7
@@
local uLong unzlocal_SearchCentralDir(fin)
return uPosFound;
}
return uPosFound;
}
-#if
def __WXMAC__
+#if
defined(__WXMAC__) && !defined(__UNIX__)
void wxUnix2MacFilename (char *s) ;
void
wxUnix2MacFilename (char *s)
void wxUnix2MacFilename (char *s) ;
void
wxUnix2MacFilename (char *s)
@@
-430,10
+430,10
@@
extern unzFile ZEXPORT unzOpen (path)
if (unz_copyright[0]!=' ')
return NULL;
if (unz_copyright[0]!=' ')
return NULL;
-#if
def __WXMAC__
+#if
defined(__WXMAC__) && !defined(__UNIX__)
strcpy( wxBuffer , path ) ;
wxUnix2MacFilename( wxBuffer ) ;
strcpy( wxBuffer , path ) ;
wxUnix2MacFilename( wxBuffer ) ;
- fin=fopen(wxBuffer,"rb");
+
fin=fopen(wxBuffer,"rb");
#else
fin=fopen(path,"rb");
#endif
#else
fin=fopen(path,"rb");
#endif