1 /* Copied from external/protobuf/android/config.h */
2 /*
3  * Manually disabled features due to lack of Trusty support:
4  * dlfcn.h - no dynamic linking
5  * fcntl.h - no traditional file IO
6  * ftruncate() - no traditional file IO
7  * mkdir() - no traditional file IO
8  * pthreads - no threading
9  * pthread priority inheritance - no threading
10  */
11 /* config.h.  Generated from config.h.in by configure.  */
12 /* config.h.in.  Generated from configure.ac by autoheader.  */
13 
14 /* the name of <hash_map> */
15 #define HASH_MAP_CLASS unordered_map
16 
17 /* the location of <unordered_map> or <hash_map> */
18 #define HASH_MAP_H <unordered_map>
19 
20 /* the namespace of hash_map/hash_set */
21 #define HASH_NAMESPACE std
22 
23 /* the name of <hash_set> */
24 #define HASH_SET_CLASS unordered_set
25 
26 /* the location of <unordered_set> or <hash_set> */
27 #define HASH_SET_H <unordered_set>
28 
29 /* define if the compiler supports basic C++11 syntax */
30 #define HAVE_CXX11 1
31 
32 /* Define to 1 if you have the <dlfcn.h> header file. */
33 #define HAVE_DLFCN_H 0
34 
35 /* Define to 1 if you have the <fcntl.h> header file. */
36 #define HAVE_FCNTL_H 0
37 
38 /* Define to 1 if you have the `ftruncate' function. */
39 #define HAVE_FTRUNCATE 0
40 
41 /* define if the compiler has hash_map */
42 #define HAVE_HASH_MAP 1
43 
44 /* define if the compiler has hash_set */
45 #define HAVE_HASH_SET 1
46 
47 /* Define to 1 if you have the <inttypes.h> header file. */
48 #define HAVE_INTTYPES_H 1
49 
50 /* Define to 1 if you have the <limits.h> header file. */
51 #define HAVE_LIMITS_H 1
52 
53 /* Define to 1 if you have the <memory.h> header file. */
54 #define HAVE_MEMORY_H 1
55 
56 /* Define to 1 if you have the `memset' function. */
57 #define HAVE_MEMSET 1
58 
59 /* Define to 1 if you have the `mkdir' function. */
60 #define HAVE_MKDIR 0
61 
62 /* Define if you have POSIX threads libraries and header files. */
63 #define HAVE_PTHREAD 0
64 
65 /* Have PTHREAD_PRIO_INHERIT. */
66 #define HAVE_PTHREAD_PRIO_INHERIT 0
67 
68 /* Define to 1 if you have the <stdint.h> header file. */
69 #define HAVE_STDINT_H 1
70 
71 /* Define to 1 if you have the <stdlib.h> header file. */
72 #define HAVE_STDLIB_H 1
73 
74 /* Define to 1 if you have the `strchr' function. */
75 #define HAVE_STRCHR 1
76 
77 /* Define to 1 if you have the `strerror' function. */
78 #define HAVE_STRERROR 1
79 
80 /* Define to 1 if you have the <strings.h> header file. */
81 #define HAVE_STRINGS_H 1
82 
83 /* Define to 1 if you have the <string.h> header file. */
84 #define HAVE_STRING_H 1
85 
86 /* Define to 1 if you have the `strtol' function. */
87 #define HAVE_STRTOL 1
88 
89 /* Define to 1 if you have the <sys/stat.h> header file. */
90 #define HAVE_SYS_STAT_H 1
91 
92 /* Define to 1 if you have the <sys/types.h> header file. */
93 #define HAVE_SYS_TYPES_H 1
94 
95 /* Define to 1 if you have the <unistd.h> header file. */
96 #define HAVE_UNISTD_H 1
97 
98 /* Enable classes using zlib compression. */
99 #define HAVE_ZLIB 1
100 
101 /* Define to the sub-directory where libtool stores uninstalled libraries. */
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 3.9.1"
115 
116 /* Define to the one symbol short name of this package. */
117 #define PACKAGE_TARNAME "protobuf"
118 
119 /* Define to the home page for this package. */
120 #define PACKAGE_URL ""
121 
122 /* Define to the version of this package. */
123 #define PACKAGE_VERSION "3.9.1"
124 
125 /* Define to necessary symbol if this constant uses a non-standard name on
126    your system. */
127 /* #undef PTHREAD_CREATE_JOINABLE */
128 
129 /* Define to 1 if you have the ANSI C header files. */
130 #define STDC_HEADERS 1
131 
132 /* Enable extensions on AIX 3, Interix.  */
133 #ifndef _ALL_SOURCE
134 #define _ALL_SOURCE 1
135 #endif
136 /* Enable GNU extensions on systems that have them.  */
137 #ifndef _GNU_SOURCE
138 #define _GNU_SOURCE 1
139 #endif
140 /* Enable threading extensions on Solaris.  */
141 #ifndef _POSIX_PTHREAD_SEMANTICS
142 #define _POSIX_PTHREAD_SEMANTICS 1
143 #endif
144 /* Enable extensions on HP NonStop.  */
145 #ifndef _TANDEM_SOURCE
146 #define _TANDEM_SOURCE 1
147 #endif
148 /* Enable general extensions on Solaris.  */
149 #ifndef __EXTENSIONS__
150 #define __EXTENSIONS__ 1
151 #endif
152 
153 /* Version number of package */
154 #define VERSION "3.9.1"
155 
156 /* Define to 1 if on MINIX. */
157 /* #undef _MINIX */
158 
159 /* Define to 2 if the system does not provide POSIX.1 features except with
160    this defined. */
161 /* #undef _POSIX_1_SOURCE */
162 
163 /* Define to 1 if you need to in order for `stat' and other things to work. */
164 /* #undef _POSIX_SOURCE */
165