misc/quazip/quazip_global.h
author koda
Tue, 30 Oct 2012 02:22:54 +0100
changeset 7896 67217e6108fd
parent 5785 45b85a04bb1e
permissions -rw-r--r--
another stake at variable pre-initialisation - we lost preview logging in the course
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5752
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     1
/**
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     2
Copyright (C) 2005-2011 Sergey A. Tachenov
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     3
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     4
This program is free software; you can redistribute it and/or modify it
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     5
under the terms of the GNU Lesser General Public License as published by
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     6
the Free Software Foundation; either version 2 of the License, or (at
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     7
your option) any later version.
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     8
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     9
This program is distributed in the hope that it will be useful, but
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    10
WITHOUT ANY WARRANTY; without even the implied warranty of
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    12
General Public License for more details.
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    13
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    14
You should have received a copy of the GNU Lesser General Public License
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    15
along with this program; if not, write to the Free Software Foundation,
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    16
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    17
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    18
See COPYING file for the full LGPL text.
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    19
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    20
Original ZIP package is copyrighted by Gilles Vollant, see
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    21
quazip/(un)zip.h files for details, basically it's zlib license.
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    22
 */
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    23
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    24
#ifndef QUAZIP_GLOBAL_H
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    25
#define QUAZIP_GLOBAL_H
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    26
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    27
#include <QtCore/qglobal.h>
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    28
/**
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    29
 * When building the library with MSVC, QUAZIP_BUILD must be defined.
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    30
 * qglobal.h takes care of defining Q_DECL_* correctly for msvc/gcc.
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    31
 */
5785
45b85a04bb1e Fix linking in windows
unC0Rr
parents: 5752
diff changeset
    32
45b85a04bb1e Fix linking in windows
unC0Rr
parents: 5752
diff changeset
    33
#define QUAZIP_EXPORT
5752
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    34
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    35
#ifdef __GNUC__
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    36
#define UNUSED __attribute__((__unused__))
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    37
#else
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    38
#define UNUSED
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    39
#endif
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    40
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    41
#endif // QUAZIP_GLOBAL_H