Added macro to enabled the -J option even if not compiling under BeOS or

MacOS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22169 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-09-04 18:59:05 +00:00
parent 6aae5da480
commit b4c9e509be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1239,7 +1239,7 @@ int uz_opts(__G__ pargc, pargv)
else else
uO.jflag = TRUE; uO.jflag = TRUE;
break; break;
#if (defined(__BEOS__) || defined(MACOS)) #if (defined(__BEOS__) || defined(MACOS) || defined(HAS_JUNK_EXTRA_FIELD_OPTION))
case ('J'): /* Junk BeOS or MacOS file attributes */ case ('J'): /* Junk BeOS or MacOS file attributes */
if( negative ) { if( negative ) {
uO.J_flag = FALSE, negative = 0; uO.J_flag = FALSE, negative = 0;
+1 -1
View File
@@ -422,7 +422,7 @@ typedef struct _UzpOpts {
int scanimage; /* -I: scan image files */ int scanimage; /* -I: scan image files */
#endif #endif
int jflag; /* -j: junk pathnames (unzip) */ int jflag; /* -j: junk pathnames (unzip) */
#if (defined(__BEOS__) || defined(MACOS)) #if (defined(__BEOS__) || defined(MACOS) || defined(HAS_JUNK_EXTRA_FIELD_OPTION))
int J_flag; /* -J: ignore BeOS/MacOS extra field info (unzip) */ int J_flag; /* -J: ignore BeOS/MacOS extra field info (unzip) */
#endif #endif
int lflag; /* -12slmv: listing format (zipinfo) */ int lflag; /* -12slmv: listing format (zipinfo) */