Tanl Linguistic Pipeline |
00001 /* include/config.h. Generated from config.h.in by configure. */ 00002 /* 00003 ** Tanl 00004 ** include/config.h 00005 ** ---------------------------------------------------------------------- 00006 ** Copyright (c) 2005 Giuseppe Attardi (attardi@di.unipi.it). 00007 ** ---------------------------------------------------------------------- 00008 ** 00009 ** This file is part of Tanl. 00010 ** 00011 ** Tanl is free software; you can redistribute it and/or modify it 00012 ** under the terms of the GNU General Public License, version 3, 00013 ** as published by the Free Software Foundation. 00014 ** 00015 ** Tanl is distributed in the hope that it will be useful, 00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 ** GNU General Public License for more details. 00019 ** 00020 ** You should have received a copy of the GNU General Public License 00021 ** along with this program. If not, see <http://www.gnu.org/licenses/>. 00022 ** ---------------------------------------------------------------------- 00023 */ 00024 00025 #ifndef Tanl_include_config_H 00026 #define Tanl_include_config_H 00027 00028 #define PATH_SEPARATOR '/' 00029 00030 #define MIN (std::min) 00031 #define MAX (std::max) 00032 00033 // byte order 00034 /* #undef WORDS_BIGENDIAN */ 00035 00036 // alloca() 00037 #define HAVE_ALLOCA 1 00038 00039 // Unicode 00040 /* #undef LEXLEN */ 00041 00042 // assert() 00043 #define NDEBUG 1 00044 00045 // for multithreaded code 00046 #define _REENTRANT 1 00047 00048 // Define if your compiler has std::unordered_map 00049 /* #undef HAVE_STD_UNORDERED_MAP */ 00050 00051 // Define if your compiler has std::unordered_set 00052 /* #undef HAVE_STD_UNORDERED_SET */ 00053 00054 // Define if your compiler has std::tr1::unordered_map 00055 #define HAVE_TR1_UNORDERED_MAP 00056 00057 // Define if your compiler has std::tr1::unordered_set 00058 #define HAVE_TR1_UNORDERED_SET 00059 00060 // Define if you have hash_map and hash_set includes in ext/ directory. 00061 #define HAVE_EXT_HASH_MAP_SET 1 00062 00063 #define HAVE_PYTHON 00064 00065 /* 00066 * Large-file configuration. 00067 * Disable with configure --disable-largefile 00068 * (produces index with 32-bit offsets for postings) 00069 */ 00070 /* #undef _FILE_OFFSET_BITS */ 00071 /* #undef _LARGE_FILES */ 00072 00073 #ifdef __sun 00074 # define __PRAGMA_REDEFINE_EXTNAME 00075 #endif 00076 00077 /* 00078 * Provide proper definitions for off64_t 00079 */ 00080 /* #undef off64_t */ 00081 typedef int off32_t; 00082 00083 //#undef BYTE_ALIGN 00084 00085 /* 00086 * Compute value of getpagesize() 00087 */ 00088 /* #undef PAGE_SIZE */ 00089 00090 /* Enable GNU extensions. */ 00091 #define _GNU_SOURCE 1 00092 00093 /* Use thread-safe versions of libc functions. */ 00094 #define _REENTRANT 1 00095 00096 #ifdef __DECCXX 00097 # define __USE_STD_IOSTREAM 00098 #endif 00099 00100 #define FOR_EACH(T, C, I) \ 00101 for (T::const_iterator I = (C).begin(); I != (C).end(); ++I) 00102 00103 #define TO_EACH(T, C, I) \ 00104 for (T::iterator I = (C).begin(); I != (C).end(); ++I) 00105 00106 #endif /* Tanl_include_config_H */