QuaZIP quazip-0-6-2
quazip_global.h
00001 #ifndef QUAZIP_GLOBAL_H
00002 #define QUAZIP_GLOBAL_H
00003 
00004 /*
00005 Copyright (C) 2005-2014 Sergey A. Tachenov
00006 
00007 This file is part of QuaZIP.
00008 
00009 QuaZIP is free software: you can redistribute it and/or modify
00010 it under the terms of the GNU Lesser General Public License as published by
00011 the Free Software Foundation, either version 3 of the License, or
00012 (at your option) any later version.
00013 
00014 QuaZIP is distributed in the hope that it will be useful,
00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017 GNU Lesser General Public License for more details.
00018 
00019 You should have received a copy of the GNU Lesser General Public License
00020 along with QuaZIP.  If not, see <http://www.gnu.org/licenses/>.
00021 
00022 See COPYING file for the full LGPL text.
00023 
00024 Original ZIP package is copyrighted by Gilles Vollant and contributors,
00025 see quazip/(un)zip.h files for details. Basically it's the zlib license.
00026 */
00027 
00028 #include <QtCore/qglobal.h>
00029 
00036 #ifdef QUAZIP_STATIC
00037 #define QUAZIP_EXPORT
00038 #else
00039 
00043 #if defined(QUAZIP_BUILD)
00044         #define QUAZIP_EXPORT Q_DECL_EXPORT
00045 #else
00046         #define QUAZIP_EXPORT Q_DECL_IMPORT
00047 #endif
00048 #endif // QUAZIP_STATIC
00049 
00050 #ifdef __GNUC__
00051 #define UNUSED __attribute__((__unused__))
00052 #else
00053 #define UNUSED
00054 #endif
00055 
00056 #define QUAZIP_EXTRA_NTFS_MAGIC 0x000Au
00057 #define QUAZIP_EXTRA_NTFS_TIME_MAGIC 0x0001u
00058 
00059 #endif // QUAZIP_GLOBAL_H