From 16f738ecee689c6feb2acb7e4ef4d9bb4144ae7d Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 8 Jun 2008 11:04:43 +0200 Subject: Initial commit --- zip/ZipArchive/std_mfc.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 zip/ZipArchive/std_mfc.h (limited to 'zip/ZipArchive/std_mfc.h') diff --git a/zip/ZipArchive/std_mfc.h b/zip/ZipArchive/std_mfc.h new file mode 100644 index 0000000..0e93cb1 --- /dev/null +++ b/zip/ZipArchive/std_mfc.h @@ -0,0 +1,46 @@ +//////////////////////////////////////////////////////////////////////////////// +// This source file is part of the ZipArchive library source distribution and +// is Copyrighted 2000 - 2007 by Artpol Software - Tadeusz Dracz +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// For the licensing details refer to the License.txt file. +// +// Web Site: http://www.artpol-software.com +//////////////////////////////////////////////////////////////////////////////// + +#ifndef ZIPARCHIVE_STDAFX_DOT_H + #error Do not include this file directly. Include stdafx.h instead +#endif + +#if _MSC_VER > 1000 +#ifndef WINVER + #define WINVER 0x0400 +#endif +#pragma once +#endif + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers +#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit + +#ifndef VC_EXTRALEAN + #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers +#endif + +#include +#include + +typedef BOOL ZBOOL; + +#if _MSC_VER >= 1300 || defined ZIP_FILE_USES_STL + #define ZIP_FILE_USIZE ULONGLONG + #define ZIP_FILE_SIZE LONGLONG + #define ZIP_FILE_SIZEMAX _I64_MAX +#else + #define ZIP_FILE_USIZE DWORD + #define ZIP_FILE_SIZE LONG + #define ZIP_FILE_SIZEMAX MAXLONG +#endif \ No newline at end of file -- cgit v1.2.3