Archive-Unzip-Burst
view release on metacpan or search on metacpan
unzip-6.0/vms/vmscfg.h view on Meta::CPAN
# define DIR_BEG '['
# define DIR_END ']'
# define DIR_EXT ".dir"
# ifndef UZ_FNFILTER_REPLACECHAR
/* We use '?' instead of the single char wildcard '%' as "unprintable
* charcode" placeholder, because '%' is valid for ODS-5 names but '?'
* is invalid. This choice may allow easier detection of "unprintables"
* when reading the fnfilter() output.
*/
# define UZ_FNFILTER_REPLACECHAR '?'
# endif
# ifndef DATE_FORMAT
# define DATE_FORMAT DF_MDY
# endif
# define lenEOL 1
# define PutNativeEOL *q++ = native(LF);
# define SCREENSIZE(ttrows, ttcols) screensize(ttrows, ttcols)
# define SCREENWIDTH 80
# define SCREENLWRAP screenlinewrap()
# if (defined(__VMS_VERSION) && !defined(VMS_VERSION))
# define VMS_VERSION __VMS_VERSION
# endif
# if (defined(__VMS_VER) && !defined(__CRTL_VER))
# define __CRTL_VER __VMS_VER
# endif
# if ((!defined(__CRTL_VER)) || (__CRTL_VER < 70000000))
# define NO_GMTIME /* gmtime() of earlier VMS C RTLs is broken */
# else
# if (!defined(NO_EF_UT_TIME) && !defined(USE_EF_UT_TIME))
# define USE_EF_UT_TIME
# endif
# if (!defined(HAVE_STRNICMP) && !defined(NO_STRNICMP))
# define HAVE_STRNICMP
# ifdef STRNICMP
# undef STRNICMP
# endif
# define STRNICMP strncasecmp
# endif
# endif
# ifndef HAVE_STRNICMP /* use our private zstrnicmp() */
# define NO_STRNICMP /* unless explicitly overridden */
# endif
# if (!defined(NOTIMESTAMP) && !defined(TIMESTAMP))
# define TIMESTAMP
# endif
# define SET_DIR_ATTRIB
# define RESTORE_UIDGID
/* VMS is run on little-endian processors with 4-byte ints:
* enable the optimized CRC-32 code */
# ifdef IZ_CRC_BE_OPTIMIZ
# undef IZ_CRC_BE_OPTIMIZ
# endif
# if !defined(IZ_CRC_LE_OPTIMIZ) && !defined(NO_CRC_OPTIMIZ)
# define IZ_CRC_LE_OPTIMIZ
# endif
# if !defined(IZ_CRCOPTIM_UNFOLDTBL) && !defined(NO_CRC_OPTIMIZ)
# define IZ_CRCOPTIM_UNFOLDTBL
# endif
/* Enable "better" unprintable charcodes filtering in fnfilter().
* (On VMS, the isprint() implementation seems to detect 8-bit printable
* characters even for the default "C" locale. A previous localization
* setup by calling setlocale() is not neccessary.) */
# if (!defined(NO_WORKING_ISPRINT) && !defined(HAVE_WORKING_ISPRINT))
# define HAVE_WORKING_ISPRINT
# endif
#ifdef NO_OFF_T
typedef long zoff_t;
#else
typedef off_t zoff_t;
#endif
#define ZOFF_T_DEFINED
typedef struct stat z_stat;
#define Z_STAT_DEFINED
#ifdef __DECC
/* File open callback ID values. */
# define OPENR_ID 1
/* File open callback ID storage. */
extern int openr_id;
/* File open callback function. */
extern int acc_cb();
/* Option macros for open().
* General: Stream access
*
* Callback function (DEC C only) sets deq, mbc, mbf, rah, wbh, ...
*/
# define OPNZIP_RMS_ARGS "ctx=stm", "acc", acc_cb, &openr_id
#else /* !__DECC */ /* (So, GNU C, VAX C, ...)*/
# define OPNZIP_RMS_ARGS "ctx=stm"
#endif /* ?__DECC */
#endif /* !__vmscfg_h */
( run in 0.653 second using v1.01-cache-2.11-cpan-b16cb0d3907 )