00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil c-basic-offset: 3 -*- */ 00002 // vim:cindent:ts=3:sw=3:et:tw=80:sta: 00003 /*************************************************************** cppdom-cpr beg 00004 * 00005 * cppdom was forked from the original xmlpp version 0.6 under the LGPL. This 00006 * new, branched xmlpp is under the same LGPL (of course) and is being 00007 * maintained by: 00008 * Kevin Meinert <subatomic@users.sourceforge.net> 00009 * Allen Bierbaum <allenb@users.sourceforge.net> 00010 * Ben Scott <nonchocoboy@users.sourceforge.net> 00011 * 00012 * ----------------------------------------------------------------- 00013 * 00014 * xmlpp - an xml parser and validator written in C++ 00015 * copyright (c) 2000-2001 Michael Fink 00016 * 00017 * This library is free software; you can redistribute it and/or 00018 * modify it under the terms of the GNU Library General Public 00019 * License as published by the Free Software Foundation; either 00020 * version 2 of the License, or (at your option) any later version. 00021 * 00022 * This library is distributed in the hope that it will be useful, 00023 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00025 * Library General Public License for more details. 00026 * 00027 * You should have received a copy of the GNU Library General Public 00028 * License along with this library; if not, write to the 00029 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00030 * Boston, MA 02111-1307, USA. 00031 * 00032 * ----------------------------------------------------------------- 00033 * File: $RCSfile: config.h,v $ 00034 * Date modified: $Date: 2003/01/03 02:37:46 $ 00035 * Version: $Revision: 1.6 $ 00036 * ----------------------------------------------------------------- 00037 * 00038 ************************************************************ cppdom-cpr-end */ 00045 #ifndef CPPDOM_CONFIG_H 00046 #define CPPDOM_CONFIG_H 00047 00048 // needed includes 00049 00050 // ----------------------------------- 00051 // win32 configuration 00052 #ifdef WIN32 00053 00054 /* 00055 // define's for the boost::shared_ptr 00056 # define BOOST_NO_MEMBER_TEMPLATES 00057 # define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION 00058 */ 00059 00060 // switch some warnings off 00061 # pragma warning( disable: 4786 4275 4251 ) 00062 00063 // export/import #define's for building a win32 dll 00064 # ifdef CPPDOM_EXPORTS 00065 # define CPPDOM_API __declspec(dllexport) 00066 # endif 00067 00068 # ifdef CPPDOM_IMPORTS 00069 # define CPPDOM_API __declspec(dllimport) 00070 # endif 00071 00072 // includes building of the httpinstream class 00073 #define CPPDOM_WITH_CUSTOM_IOSTREAM 00074 00075 #endif 00076 00077 // ----------------------------------- 00078 // linux configuration 00079 #ifdef LINUX 00080 00081 /* 00082 // defines for the boost library 00083 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS 00084 */ 00085 00086 #endif 00087 00088 // if not under windows, then this will need to be defined. 00089 #ifndef CPPDOM_API 00090 # define CPPDOM_API 00091 #endif 00092 00093 // ----------------------------------- 00094 #endif