1/* 2 Copyright (c) 1990-2002 Info-ZIP. All rights reserved. 3 4 See the accompanying file LICENSE, version 2000-Apr-09 or later 5 (the contents of which are also included in unzip.h) for terms of use. 6 If, for some reason, all these files are missing, the Info-ZIP license 7 also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html 8*/ 9//****************************************************************************** 10// 11// File: PUNZIP.H 12// 13// Description: This is our global header for the entire Pocket UnZip project. 14// This header contains all global project build flags, defines, 15// constants, and macros. It also includes all other headers that 16// are needed by the project. 17// 18// Copyright: All the source files for Pocket UnZip, except for components 19// written by the Info-ZIP group, are copyrighted 1997 by Steve P. 20// Miller. The product "Pocket UnZip" itself is property of the 21// author and cannot be altered in any way without written consent 22// from Steve P. Miller. 23// 24// Disclaimer: All project files are provided "as is" with no guarantee of 25// their correctness. The authors are not liable for any outcome 26// that is the result of using this source. The source for Pocket 27// UnZip has been placed in the public domain to help provide an 28// understanding of its implementation. You are hereby granted 29// full permission to use this source in any way you wish, except 30// to alter Pocket UnZip itself. For comments, suggestions, and 31// bug reports, please write to stevemil@pobox.com. 32// 33// 34// Date Name History 35// -------- ------------ ----------------------------------------------------- 36// 02/01/97 Steve Miller Created (Version 1.0 using Info-ZIP UnZip 5.30) 37// 38//****************************************************************************** 39 40#ifndef __PUNZIP_H__ 41#define __PUNZIP_H__ 42 43#ifdef __cplusplus 44extern "C" { 45#endif 46 47//****************************************************************************** 48//***** Standard Win32 project flags 49//****************************************************************************** 50 51#ifndef WIN32 52#define WIN32 53#endif 54 55#ifndef _WINDOWS 56#define _WINDOWS 57#endif 58 59#ifdef _WIN32_WCE /* for native Windows CE, force UNICODE mode */ 60#ifndef UNICODE 61#define UNICODE 62#endif 63#endif /* _WIN32_WCE */ 64 65#ifndef WIN32_LEAN_AND_MEAN 66#define WIN32_LEAN_AND_MEAN 67#endif 68 69#ifndef STRICT 70#define STRICT 71#endif 72 73#if defined(_UNICODE) && !defined(UNICODE) 74#define UNICODE 75#endif 76 77#if defined(UNICODE) && !defined(_UNICODE) 78#define _UNICODE 79#endif 80 81#if defined(_DEBUG) && !defined(DEBUG) 82#define DEBUG 83#endif 84 85#if defined(DEBUG) && !defined(_DEBUG) 86#define _DEBUG 87#endif 88 89#if defined(_NDEBUG) && !defined(NDEBUG) 90#define NDEBUG 91#endif 92 93#if defined(NDEBUG) && !defined(_NDEBUG) 94#define _NDEBUG 95#endif 96 97 98//****************************************************************************** 99//***** Pocket Unzip and Info-ZIP flags 100//****************************************************************************** 101 102#ifndef POCKET_UNZIP 103#define POCKET_UNZIP 104#endif 105 106#ifndef WINDLL 107#define WINDLL 108#endif 109 110#ifndef DLL 111#define DLL 112#endif 113 114#ifndef REENTRANT 115#define REENTRANT 116#endif 117 118#ifndef NO_ZIPINFO 119#define NO_ZIPINFO 120#endif 121 122#ifndef NO_STDDEF_H 123#define NO_STDDEF_H 124#endif 125 126// Read COPYING document before enabling this define. 127#if 0 128#ifndef USE_SMITH_CODE 129#define USE_SMITH_CODE 130#endif 131#endif 132 133// Read COPYING document before enabling this define. 134#if 0 135#ifndef USE_UNSHRINK 136#define USE_UNSHRINK 137#endif 138#endif 139 140 141 142#ifdef __cplusplus 143} // extern "C" 144#endif 145 146#endif // __PUNZIP_H__ 147