1/* 2 Copyright (c) 1990-1999 Info-ZIP. All rights reserved. 3 4 See the accompanying file LICENSE, version 1999-Oct-05 or later 5 (the contents of which are also included in zip.h) for terms of use. 6 If, for some reason, both of these files are missing, the Info-ZIP license 7 also may be found at: ftp://ftp.cdrom.com/pub/infozip/license.html 8*/ 9#include <io.h> 10#include <sys/stat.h> 11#include <sys/xglob.h> 12 13#ifdef ZCRYPT_INTERNAL 14# include <process.h> /* getpid() declaration for srand seed */ 15#endif 16 17#define USE_CASE_MAP 18 19#define ROUNDED_TIME(time) (((time) + 1) & (~1)) 20 21#define PROCNAME(n) (action == ADD || action == UPDATE ? wild(n) : \ 22 procname(n, 1)) 23 24#ifdef HAVE_MBCTYPE_H 25# include <mbctype.h> 26#else 27# define ismbblead(c) (0x80 <= (c) && ((c) < 0xa0 || 0xe0 <= (c))) 28#endif 29