]> git.donarmstrong.com Git - flightcrew.git/blob - src/zipios/zipios++/zipios-config.w32.h
Imported Upstream version 0.7.2+dfsg
[flightcrew.git] / src / zipios / zipios++ / zipios-config.w32.h
1 #ifndef ZIPIOS_CONFIG_H
2 #define ZIPIOS_CONFIG_H
3
4 #define HAVE_STD_IOSTREAM
5 #define USE_STD_IOSTREAM
6 #define HAVE_STL 
7 #define HAVE_STRING_H 1
8 #define HAVE_STDLIB_H 1
9 #define HAVE_STDINT_H 1
10
11 // Visual C++
12
13 #ifdef _MSC_VER
14
15 // Disable class-browser warning about truncated template-names
16 #pragma warning( disable : 4786 )
17
18 #endif //_MSC_VER
19
20 // Needed for FilePath
21 #define S_ISREG(mode)   (((mode) & _S_IFREG) == _S_IFREG)
22 #define S_ISDIR(mode)   (((mode) & _S_IFDIR) == _S_IFDIR)
23 #define S_ISCHR(mode)   (((mode) & _S_IFCHR) == _S_IFCHR)
24 #define S_ISBLK(mode)   0
25 #define S_ISSOCK(mode)  0
26 #define S_ISFIFO(mode)  (((mode) & _S_IFIFO) == _S_IFIFO)
27
28
29 // Convenient place to include any debugging-headers
30 #include <assert.h>
31
32 #endif // ZIPIOS_CONFIG_H
33
34 /** \file
35     Configuration header file that allows compatibility with win32 compilers
36 */
37
38 /*
39   Zipios++ - a small C++ library that provides easy access to .zip files.
40   Copyright (C) 2000  1. Thomas Søndergaard 2. Kevin Shea
41   Written by Kevin Shea
42   
43   This library is free software; you can redistribute it and/or
44   modify it under the terms of the GNU Lesser General Public
45   License as published by the Free Software Foundation; either
46   version 2 of the License, or (at your option) any later version.
47   
48   This library is distributed in the hope that it will be useful,
49   but WITHOUT ANY WARRANTY; without even the implied warranty of
50   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
51   Lesser General Public License for more details.
52   
53   You should have received a copy of the GNU Lesser General Public
54   License along with this library; if not, write to the Free Software
55   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
56 */