zipios-config.h

Go to the documentation of this file.
00001 #ifndef ZIPIOS_CONFIG_H
00002 #define ZIPIOS_CONFIG_H
00003 
00004 #include <FCConfig.h>
00005 
00006 #ifdef _MSC_VER
00007 
00008 // This is fine for VC++ 5.0 sp 3
00009 #define HAVE_STD_IOSTREAM
00010 #define USE_STD_IOSTREAM
00011 
00012 // Visual C++
00013 
00014 #ifdef _MSC_VER
00015 
00016 // Disable class-browser warning about truncated template-names
00017 #pragma warning( disable : 4786 )
00018 
00019 #endif //_MSC_VER
00020 
00021 // Needed for FilePath
00022 #ifndef S_ISREG
00023 #define S_ISREG(mode)   (((mode) & _S_IFREG) == _S_IFREG)
00024 #endif
00025 #ifndef S_ISDIR
00026 #define S_ISDIR(mode)   (((mode) & _S_IFDIR) == _S_IFDIR)
00027 #endif
00028 #ifndef S_ISCHR
00029 #define S_ISCHR(mode)   (((mode) & _S_IFCHR) == _S_IFCHR)
00030 #endif
00031 #ifndef S_ISBLK
00032 #define S_ISBLK(mode)   0
00033 #endif
00034 #ifndef S_ISSOCK
00035 #define S_ISSOCK(mode)  0
00036 #endif
00037 #ifndef S_ISFIFO
00038 #define S_ISFIFO(mode)  (((mode) & _S_IFIFO) == _S_IFIFO)
00039 #endif
00040 
00041 
00042 // Convenient place to include any debugging-headers
00043 #include <assert.h>
00044 
00045 #else // gcc and others
00046 #ifndef S_ISSOCK
00047 #define S_ISSOCK(mode)  0
00048 #endif
00049 #include <stdint.h>
00050 # if HAVE_CONFIG_H
00051 #         include <config.h>
00052 # endif // HAVE_CONFIG_H
00053 
00054 #endif //_MSC_VER
00055 
00056 #endif // ZIPIOS_CONFIG_H
00057 
00062 /*
00063   Zipios++ - a small C++ library that provides easy access to .zip files.
00064   Copyright (C) 2000  1. Thomas Søndergaard 2. Kevin Shea
00065   Written by Kevin Shea
00066   
00067   This library is free software; you can redistribute it and/or
00068   modify it under the terms of the GNU Lesser General Public
00069   License as published by the Free Software Foundation; either
00070   version 2 of the License, or (at your option) any later version.
00071   
00072   This library is distributed in the hope that it will be useful,
00073   but WITHOUT ANY WARRANTY; without even the implied warranty of
00074   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00075   Lesser General Public License for more details.
00076   
00077   You should have received a copy of the GNU Lesser General Public
00078   License along with this library; if not, write to the Free Software
00079   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00080 */

Generated on Wed Nov 23 19:01:12 2011 for FreeCAD by  doxygen 1.6.1