1 /* config.h. Generated from config.h.in by configure. */ 2 /* config.h.in. Generated from configure.ac by autoheader. */ 3 4 /* the name of <hash_set> */ 5 #define HASH_MAP_CLASS unordered_map 6 7 /* the location of <hash_map> */ 8 #define HASH_MAP_H <tr1/unordered_map> 9 10 /* the namespace of hash_map/hash_set */ 11 #define HASH_NAMESPACE std::tr1 12 13 /* the name of <hash_set> */ 14 #define HASH_SET_CLASS unordered_set 15 16 /* the location of <hash_set> */ 17 #define HASH_SET_H <tr1/unordered_set> 18 19 /* Define to 1 if you have the <dlfcn.h> header file. */ 20 #define HAVE_DLFCN_H 1 21 22 /* Define to 1 if you have the <fcntl.h> header file. */ 23 #define HAVE_FCNTL_H 1 24 25 /* Define to 1 if you have the `ftruncate' function. */ 26 #define HAVE_FTRUNCATE 1 27 28 #if defined(ANDROID) 29 /* 30 * TODO: Figure out how to use stlport unordered_map and set. 31 * For some reason they don't work when I try to point the 32 * HASH_MAP_H and HASH_SET_H to the stlport files, I get 33 * compile timer errors. 34 */ 35 36 /* define if the compiler has hash_map */ 37 #undef HAVE_HASH_MAP 38 39 /* define if the compiler has hash_set */ 40 #undef HAVE_HASH_SET 41 #else 42 /* define if the compiler has hash_map */ 43 #define HAVE_HASH_MAP 1 44 45 /* define if the compiler has hash_set */ 46 #define HAVE_HASH_SET 1 47 #endif 48 49 /* Define to 1 if you have the <inttypes.h> header file. */ 50 #define HAVE_INTTYPES_H 1 51 52 /* Define to 1 if you have the <limits.h> header file. */ 53 #define HAVE_LIMITS_H 1 54 55 /* Define to 1 if you have the <memory.h> header file. */ 56 #define HAVE_MEMORY_H 1 57 58 /* Define to 1 if you have the `memset' function. */ 59 #define HAVE_MEMSET 1 60 61 /* Define to 1 if you have the `mkdir' function. */ 62 #define HAVE_MKDIR 1 63 64 /* Define if you have POSIX threads libraries and header files. */ 65 #define HAVE_PTHREAD 1 66 67 /* Define to 1 if you have the <stdint.h> header file. */ 68 #define HAVE_STDINT_H 1 69 70 /* Define to 1 if you have the <stdlib.h> header file. */ 71 #define HAVE_STDLIB_H 1 72 73 /* Define to 1 if you have the `strchr' function. */ 74 #define HAVE_STRCHR 1 75 76 /* Define to 1 if you have the `strerror' function. */ 77 #define HAVE_STRERROR 1 78 79 /* Define to 1 if you have the <strings.h> header file. */ 80 #define HAVE_STRINGS_H 1 81 82 /* Define to 1 if you have the <string.h> header file. */ 83 #define HAVE_STRING_H 1 84 85 /* Define to 1 if you have the `strtol' function. */ 86 #define HAVE_STRTOL 1 87 88 /* Define to 1 if you have the <sys/stat.h> header file. */ 89 #define HAVE_SYS_STAT_H 1 90 91 /* Define to 1 if you have the <sys/types.h> header file. */ 92 #define HAVE_SYS_TYPES_H 1 93 94 /* Define to 1 if you have the <unistd.h> header file. */ 95 #define HAVE_UNISTD_H 1 96 97 /* Enable classes using zlib compression. */ 98 #define HAVE_ZLIB 1 99 100 /* Define to the sub-directory in which libtool stores uninstalled libraries. 101 */ 102 #define LT_OBJDIR ".libs/" 103 104 /* Name of package */ 105 #define PACKAGE "protobuf" 106 107 /* Define to the address where bug reports for this package should be sent. */ 108 #define PACKAGE_BUGREPORT "protobuf@googlegroups.com" 109 110 /* Define to the full name of this package. */ 111 #define PACKAGE_NAME "Protocol Buffers" 112 113 /* Define to the full name and version of this package. */ 114 #define PACKAGE_STRING "Protocol Buffers 2.3.0" 115 116 /* Define to the one symbol short name of this package. */ 117 #define PACKAGE_TARNAME "protobuf" 118 119 /* Define to the version of this package. */ 120 #define PACKAGE_VERSION "2.3.0" 121 122 /* Define to necessary symbol if this constant uses a non-standard name on 123 your system. */ 124 /* #undef PTHREAD_CREATE_JOINABLE */ 125 126 /* Define to 1 if you have the ANSI C header files. */ 127 #define STDC_HEADERS 1 128 129 /* Version number of package */ 130 #define VERSION "2.3.0" 131 132 /* Define to 1 if on AIX 3. 133 System headers sometimes define this. 134 We just want to avoid a redefinition error message. */ 135 #ifndef _ALL_SOURCE 136 /* # undef _ALL_SOURCE */ 137 #endif 138 139 /* Enable GNU extensions on systems that have them. */ 140 #ifndef _GNU_SOURCE 141 # define _GNU_SOURCE 1 142 #endif 143 144 /* Define to 1 if on MINIX. */ 145 /* #undef _MINIX */ 146 147 /* Define to 2 if the system does not provide POSIX.1 features except with 148 this defined. */ 149 /* #undef _POSIX_1_SOURCE */ 150 151 /* Define to 1 if you need to in order for `stat' and other things to work. */ 152 /* #undef _POSIX_SOURCE */ 153 154 /* Enable extensions on Solaris. */ 155 #ifndef __EXTENSIONS__ 156 # define __EXTENSIONS__ 1 157 #endif 158 #ifndef _POSIX_PTHREAD_SEMANTICS 159 # define _POSIX_PTHREAD_SEMANTICS 1 160 #endif 161 #ifndef _TANDEM_SOURCE 162 # define _TANDEM_SOURCE 1 163 #endif 164