00001 // 00002 // Config.h 00003 // 00004 // $Id: //poco/1.3/Foundation/include/Poco/Config.h#9 $ 00005 // 00006 // Library: Foundation 00007 // Package: Core 00008 // Module: Foundation 00009 // 00010 // Feature configuration for the POCO libraries. 00011 // 00012 // Copyright (c) 2006-2009, Applied Informatics Software Engineering GmbH. 00013 // and Contributors. 00014 // 00015 // Permission is hereby granted, free of charge, to any person or organization 00016 // obtaining a copy of the software and accompanying documentation covered by 00017 // this license (the "Software") to use, reproduce, display, distribute, 00018 // execute, and transmit the Software, and to prepare derivative works of the 00019 // Software, and to permit third-parties to whom the Software is furnished to 00020 // do so, all subject to the following: 00021 // 00022 // The copyright notices in the Software and this entire statement, including 00023 // the above license grant, this restriction and the following disclaimer, 00024 // must be included in all copies of the Software, in whole or in part, and 00025 // all derivative works of the Software, unless such copies or derivative 00026 // works are solely in the form of machine-executable object code generated by 00027 // a source language processor. 00028 // 00029 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00030 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00031 // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT 00032 // SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE 00033 // FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, 00034 // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00035 // DEALINGS IN THE SOFTWARE. 00036 // 00037 00038 00039 #ifndef Foundation_Config_INCLUDED 00040 #define Foundation_Config_INCLUDED 00041 00042 00043 // Define to enable Windows Unicode (UTF-8) support 00044 #define POCO_WIN32_UTF8 00045 00046 00047 // Define to disable implicit linking 00048 // #define POCO_NO_AUTOMATIC_LIBS 00049 00050 00051 // Define to disable FPEnvironment support 00052 // #define POCO_NO_FPENVIRONMENT 00053 00054 00055 // Define if std::wstring is not available 00056 // #define POCO_NO_WSTRING 00057 00058 00059 // Define to disable shared memory 00060 // #define POCO_NO_SHAREDMEMORY 00061 00062 00063 // Define to desired default thread stack size 00064 // Zero means OS default 00065 #define POCO_THREAD_STACK_SIZE 0 00066 00067 00068 // Following are options to remove certain features 00069 // to reduce library/executable size for smaller 00070 // embedded platforms. By enabling these options, 00071 // the size of a statically executable can be 00072 // reduced by a few 100 Kbytes. 00073 00074 00075 // No automatic registration of FileChannel in 00076 // LoggingFactory - avoids FileChannel and friends 00077 // being linked to executable. 00078 // #define POCO_NO_FILECHANNEL 00079 00080 00081 // No automatic registration of SplitterChannel in 00082 // LoggingFactory - avoids SplitterChannel being 00083 // linked to executable. 00084 // #define POCO_NO_SPLITTERCHANNEL 00085 00086 00087 // No automatic registration of SyslogChannel in 00088 // LoggingFactory - avoids SyslogChannel being 00089 // linked to executable on Unix/Linux systems. 00090 // #define POCO_NO_SYSLOGCHANNEL 00091 00092 00093 // No support for INI file configurations in 00094 // Poco::Util::Application. 00095 // #define POCO_UTIL_NO_INIFILECONFIGURATION 00096 00097 00098 // No support for XML configuration in 00099 // Poco::Util::Application. Avoids linking of XML 00100 // library and saves a few 100 Kbytes. 00101 // #define POCO_UTIL_NO_XMLCONFIGURATION 00102 00103 00104 #endif // Foundation_Config_INCLUDED