| OLD | NEW |
| 1 /* Copied from Linux version and changed the features according Android, which | 1 /* Copied from Linux version and changed the features according the PNaCl |
| 2 * is close to Linux */ | 2 * toolchain for the Non-SFI binary build, which is close to one under the |
| 3 * linux/ directory. The built binary will be running under Linux directly, |
| 4 * actually. |
| 5 */ |
| 3 | 6 |
| 4 /* Define if clock_gettime is available in libc */ | 7 /* Define if clock_gettime is available in libc */ |
| 5 #define DNS_USE_CPU_CLOCK_FOR_ID 1 | 8 #define DNS_USE_CPU_CLOCK_FOR_ID 1 |
| 6 | 9 |
| 7 /* Define is no secure id variant is available */ | 10 /* Define is no secure id variant is available */ |
| 8 /* #undef DNS_USE_GETTIMEOFDAY_FOR_ID */ | 11 /* #undef DNS_USE_GETTIMEOFDAY_FOR_ID */ |
| 9 | 12 |
| 10 /* Define to 1 if you have the `clock_gettime' function. */ | 13 /* Define to 1 if you have the `clock_gettime' function. */ |
| 11 #define HAVE_CLOCK_GETTIME 1 | 14 #define HAVE_CLOCK_GETTIME 1 |
| 12 | 15 |
| 13 /* Define if /dev/poll is available */ | 16 /* Define if /dev/poll is available */ |
| 14 /* #undef HAVE_DEVPOLL */ | 17 /* #undef HAVE_DEVPOLL */ |
| 15 | 18 |
| 16 /* Define to 1 if you have the <dlfcn.h> header file. */ | 19 /* Define to 1 if you have the <dlfcn.h> header file. */ |
| 17 #define HAVE_DLFCN_H 1 | 20 /* #undef HAVE_DLFCN_H */ |
| 18 | 21 |
| 19 /* Define if your system supports the epoll system calls */ | 22 /* Define if your system supports the epoll system calls */ |
| 20 #define HAVE_EPOLL 1 | 23 /* #undef HAVE_EPOLL */ |
| 21 | 24 |
| 22 /* Define to 1 if you have the `epoll_ctl' function. */ | 25 /* Define to 1 if you have the `epoll_ctl' function. */ |
| 23 #define HAVE_EPOLL_CTL 1 | 26 /* #undef HAVE_EPOLL_CTL */ |
| 24 | 27 |
| 25 /* Define if your system supports event ports */ | 28 /* Define if your system supports event ports */ |
| 26 /* #undef HAVE_EVENT_PORTS */ | 29 /* #undef HAVE_EVENT_PORTS */ |
| 27 | 30 |
| 28 /* Define to 1 if you have the `fcntl' function. */ | 31 /* Define to 1 if you have the `fcntl' function. */ |
| 29 #define HAVE_FCNTL 1 | 32 #define HAVE_FCNTL 1 |
| 30 | 33 |
| 31 /* Define to 1 if you have the <fcntl.h> header file. */ | 34 /* Define to 1 if you have the <fcntl.h> header file. */ |
| 32 #define HAVE_FCNTL_H 1 | 35 #define HAVE_FCNTL_H 1 |
| 33 | 36 |
| 34 /* Define to 1 if the system has the type `fd_mask'. */ | 37 /* Define to 1 if the system has the type `fd_mask'. */ |
| 35 /* #undef HAVE_FD_MASK */ | 38 #define HAVE_FD_MASK 1 |
| 36 | 39 |
| 37 /* Define to 1 if you have the `getaddrinfo' function. */ | 40 /* Define to 1 if you have the `getaddrinfo' function. */ |
| 38 #define HAVE_GETADDRINFO 1 | 41 #define HAVE_GETADDRINFO 1 |
| 39 | 42 |
| 40 /* Define to 1 if you have the `getegid' function. */ | 43 /* Define to 1 if you have the `getegid' function. */ |
| 41 #define HAVE_GETEGID 1 | 44 #define HAVE_GETEGID 1 |
| 42 | 45 |
| 43 /* Define to 1 if you have the `geteuid' function. */ | 46 /* Define to 1 if you have the `geteuid' function. */ |
| 44 #define HAVE_GETEUID 1 | 47 #define HAVE_GETEUID 1 |
| 45 | 48 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 /* Define to 1 if you have the <poll.h> header file. */ | 88 /* Define to 1 if you have the <poll.h> header file. */ |
| 86 #define HAVE_POLL_H 1 | 89 #define HAVE_POLL_H 1 |
| 87 | 90 |
| 88 /* Define to 1 if you have the `port_create' function. */ | 91 /* Define to 1 if you have the `port_create' function. */ |
| 89 /* #undef HAVE_PORT_CREATE */ | 92 /* #undef HAVE_PORT_CREATE */ |
| 90 | 93 |
| 91 /* Define to 1 if you have the <port.h> header file. */ | 94 /* Define to 1 if you have the <port.h> header file. */ |
| 92 /* #undef HAVE_PORT_H */ | 95 /* #undef HAVE_PORT_H */ |
| 93 | 96 |
| 94 /* Define to 1 if you have the `select' function. */ | 97 /* Define to 1 if you have the `select' function. */ |
| 95 #define HAVE_SELECT 1 | 98 /* #undef HAVE_SELECT */ |
| 96 | 99 |
| 97 /* Define if F_SETFD is defined in <fcntl.h> */ | 100 /* Define if F_SETFD is defined in <fcntl.h> */ |
| 98 #define HAVE_SETFD 1 | 101 #define HAVE_SETFD 1 |
| 99 | 102 |
| 103 /* Note: The PNaCl toolchain prodives linux ABI's sigaction, named |
| 104 * linux_sigaction() in native_client/src/nonsfi/linux/linux_sys_private.c, |
| 105 * but newlib ABI sigaction() is not provided. |
| 106 */ |
| 100 /* Define to 1 if you have the `sigaction' function. */ | 107 /* Define to 1 if you have the `sigaction' function. */ |
| 101 #define HAVE_SIGACTION 1 | 108 /* #undef HAVE_SIGACTION */ |
| 102 | 109 |
| 103 /* Define to 1 if you have the `signal' function. */ | 110 /* Define to 1 if you have the `signal' function. */ |
| 104 #define HAVE_SIGNAL 1 | 111 /* #undef HAVE_SIGNAL */ |
| 105 | 112 |
| 106 /* Define to 1 if you have the <signal.h> header file. */ | 113 /* Define to 1 if you have the <signal.h> header file. */ |
| 107 #define HAVE_SIGNAL_H 1 | 114 #define HAVE_SIGNAL_H 1 |
| 108 | 115 |
| 109 /* Define to 1 if you have the <stdarg.h> header file. */ | 116 /* Define to 1 if you have the <stdarg.h> header file. */ |
| 110 #define HAVE_STDARG_H 1 | 117 #define HAVE_STDARG_H 1 |
| 111 | 118 |
| 112 /* Define to 1 if you have the <stdint.h> header file. */ | 119 /* Define to 1 if you have the <stdint.h> header file. */ |
| 113 #define HAVE_STDINT_H 1 | 120 #define HAVE_STDINT_H 1 |
| 114 | 121 |
| 115 /* Define to 1 if you have the <stdlib.h> header file. */ | 122 /* Define to 1 if you have the <stdlib.h> header file. */ |
| 116 #define HAVE_STDLIB_H 1 | 123 #define HAVE_STDLIB_H 1 |
| 117 | 124 |
| 118 /* Define to 1 if you have the <strings.h> header file. */ | 125 /* Define to 1 if you have the <strings.h> header file. */ |
| 119 #define HAVE_STRINGS_H 1 | 126 #define HAVE_STRINGS_H 1 |
| 120 | 127 |
| 121 /* Define to 1 if you have the <string.h> header file. */ | 128 /* Define to 1 if you have the <string.h> header file. */ |
| 122 #define HAVE_STRING_H 1 | 129 #define HAVE_STRING_H 1 |
| 123 | 130 |
| 124 /* Define to 1 if you have the `strlcpy' function. */ | 131 /* Define to 1 if you have the `strlcpy' function. */ |
| 125 #define HAVE_STRLCPY 1 | 132 /* #undef HAVE_STRLCPY */ |
| 126 | 133 |
| 127 /* Define to 1 if you have the `strsep' function. */ | 134 /* Define to 1 if you have the `strsep' function. */ |
| 128 #define HAVE_STRSEP 1 | 135 #define HAVE_STRSEP 1 |
| 129 | 136 |
| 130 /* Define to 1 if you have the `strtok_r' function. */ | 137 /* Define to 1 if you have the `strtok_r' function. */ |
| 131 #define HAVE_STRTOK_R 1 | 138 #define HAVE_STRTOK_R 1 |
| 132 | 139 |
| 133 /* Define to 1 if you have the `strtoll' function. */ | 140 /* Define to 1 if you have the `strtoll' function. */ |
| 134 #define HAVE_STRTOLL 1 | 141 #define HAVE_STRTOLL 1 |
| 135 | 142 |
| 136 /* Define to 1 if the system has the type `struct in6_addr'. */ | 143 /* Define to 1 if the system has the type `struct in6_addr'. */ |
| 137 #define HAVE_STRUCT_IN6_ADDR 1 | 144 #define HAVE_STRUCT_IN6_ADDR 1 |
| 138 | 145 |
| 139 /* Define to 1 if you have the <sys/devpoll.h> header file. */ | 146 /* Define to 1 if you have the <sys/devpoll.h> header file. */ |
| 140 /* #undef HAVE_SYS_DEVPOLL_H */ | 147 /* #undef HAVE_SYS_DEVPOLL_H */ |
| 141 | 148 |
| 142 /* Define to 1 if you have the <sys/epoll.h> header file. */ | 149 /* Define to 1 if you have the <sys/epoll.h> header file. */ |
| 143 #define HAVE_SYS_EPOLL_H 1 | 150 #define HAVE_SYS_EPOLL_H 1 |
| 144 | 151 |
| 145 /* Define to 1 if you have the <sys/event.h> header file. */ | 152 /* Define to 1 if you have the <sys/event.h> header file. */ |
| 146 /* #undef HAVE_SYS_EVENT_H */ | 153 /* #undef HAVE_SYS_EVENT_H */ |
| 147 | 154 |
| 148 /* Define to 1 if you have the <sys/ioctl.h> header file. */ | 155 /* Define to 1 if you have the <sys/ioctl.h> header file. */ |
| 149 #define HAVE_SYS_IOCTL_H 1 | 156 /* #undef HAVE_SYS_IOCTL_H */ |
| 150 | 157 |
| 151 /* Define to 1 if you have the <sys/param.h> header file. */ | 158 /* Define to 1 if you have the <sys/param.h> header file. */ |
| 152 #define HAVE_SYS_PARAM_H 1 | 159 #define HAVE_SYS_PARAM_H 1 |
| 153 | 160 |
| 154 /* Define to 1 if you have the <sys/queue.h> header file. */ | 161 /* Define to 1 if you have the <sys/queue.h> header file. */ |
| 155 #define HAVE_SYS_QUEUE_H 1 | 162 #define HAVE_SYS_QUEUE_H 1 |
| 156 | 163 |
| 157 /* Define to 1 if you have the <sys/select.h> header file. */ | 164 /* Define to 1 if you have the <sys/select.h> header file. */ |
| 158 #define HAVE_SYS_SELECT_H 1 | 165 /* #undef HAVE_SYS_SELECT_H */ |
| 159 | 166 |
| 160 /* Define to 1 if you have the <sys/socket.h> header file. */ | 167 /* Define to 1 if you have the <sys/socket.h> header file. */ |
| 161 #define HAVE_SYS_SOCKET_H 1 | 168 #define HAVE_SYS_SOCKET_H 1 |
| 162 | 169 |
| 163 /* Define to 1 if you have the <sys/stat.h> header file. */ | 170 /* Define to 1 if you have the <sys/stat.h> header file. */ |
| 164 #define HAVE_SYS_STAT_H 1 | 171 #define HAVE_SYS_STAT_H 1 |
| 165 | 172 |
| 166 /* Define to 1 if you have the <sys/time.h> header file. */ | 173 /* Define to 1 if you have the <sys/time.h> header file. */ |
| 167 #define HAVE_SYS_TIME_H 1 | 174 #define HAVE_SYS_TIME_H 1 |
| 168 | 175 |
| 169 /* Define to 1 if you have the <sys/types.h> header file. */ | 176 /* Define to 1 if you have the <sys/types.h> header file. */ |
| 170 #define HAVE_SYS_TYPES_H 1 | 177 #define HAVE_SYS_TYPES_H 1 |
| 171 | 178 |
| 172 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ | 179 /* Define if TAILQ_FOREACH is defined in <sys/queue.h> */ |
| 173 #define HAVE_TAILQFOREACH 1 | 180 #define HAVE_TAILQFOREACH 1 |
| 174 | 181 |
| 175 /* Define if timeradd is defined in <sys/time.h> */ | 182 /* Define if timeradd is defined in <sys/time.h> */ |
| 176 #define HAVE_TIMERADD 1 | 183 /* #undef HAVE_TIMERADD */ |
| 177 | 184 |
| 178 /* Define if timerclear is defined in <sys/time.h> */ | 185 /* Define if timerclear is defined in <sys/time.h> */ |
| 179 #define HAVE_TIMERCLEAR 1 | 186 /* #undef HAVE_TIMERCLEAR */ |
| 180 | 187 |
| 181 /* Define if timercmp is defined in <sys/time.h> */ | 188 /* Define if timercmp is defined in <sys/time.h> */ |
| 182 #define HAVE_TIMERCMP 1 | 189 /* #undef HAVE_TIMERCMP */ |
| 183 | 190 |
| 184 /* Define if timerisset is defined in <sys/time.h> */ | 191 /* Define if timerisset is defined in <sys/time.h> */ |
| 185 #define HAVE_TIMERISSET 1 | 192 /* #undef HAVE_TIMERISSET */ |
| 186 | 193 |
| 187 /* Define to 1 if the system has the type `uint16_t'. */ | 194 /* Define to 1 if the system has the type `uint16_t'. */ |
| 188 #define HAVE_UINT16_T 1 | 195 #define HAVE_UINT16_T 1 |
| 189 | 196 |
| 190 /* Define to 1 if the system has the type `uint32_t'. */ | 197 /* Define to 1 if the system has the type `uint32_t'. */ |
| 191 #define HAVE_UINT32_T 1 | 198 #define HAVE_UINT32_T 1 |
| 192 | 199 |
| 193 /* Define to 1 if the system has the type `uint64_t'. */ | 200 /* Define to 1 if the system has the type `uint64_t'. */ |
| 194 #define HAVE_UINT64_T 1 | 201 #define HAVE_UINT64_T 1 |
| 195 | 202 |
| 196 /* Define to 1 if the system has the type `uint8_t'. */ | 203 /* Define to 1 if the system has the type `uint8_t'. */ |
| 197 #define HAVE_UINT8_T 1 | 204 #define HAVE_UINT8_T 1 |
| 198 | 205 |
| 199 /* Define to 1 if you have the <unistd.h> header file. */ | 206 /* Define to 1 if you have the <unistd.h> header file. */ |
| 200 #define HAVE_UNISTD_H 1 | 207 #define HAVE_UNISTD_H 1 |
| 201 | 208 |
| 202 /* Define to 1 if you have the `vasprintf' function. */ | 209 /* Define to 1 if you have the `vasprintf' function. */ |
| 203 #define HAVE_VASPRINTF 1 | 210 /* #undef HAVE_VASPRINTF */ |
| 204 | 211 |
| 205 /* Define if kqueue works correctly with pipes */ | 212 /* Define if kqueue works correctly with pipes */ |
| 206 /* #undef HAVE_WORKING_KQUEUE */ | 213 /* #undef HAVE_WORKING_KQUEUE */ |
| 207 | 214 |
| 208 /* Name of package */ | 215 /* Name of package */ |
| 209 #define PACKAGE "libevent" | 216 #define PACKAGE "libevent_nacl" |
| 210 | 217 |
| 211 /* Define to the address where bug reports for this package should be sent. */ | 218 /* Define to the address where bug reports for this package should be sent. */ |
| 212 #define PACKAGE_BUGREPORT "" | 219 #define PACKAGE_BUGREPORT "" |
| 213 | 220 |
| 214 /* Define to the full name of this package. */ | 221 /* Define to the full name of this package. */ |
| 215 #define PACKAGE_NAME "" | 222 #define PACKAGE_NAME "" |
| 216 | 223 |
| 217 /* Define to the full name and version of this package. */ | 224 /* Define to the full name and version of this package. */ |
| 218 #define PACKAGE_STRING "" | 225 #define PACKAGE_STRING "" |
| 219 | 226 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 #endif | 264 #endif |
| 258 | 265 |
| 259 /* Define to `int' if <sys/types.h> does not define. */ | 266 /* Define to `int' if <sys/types.h> does not define. */ |
| 260 /* #undef pid_t */ | 267 /* #undef pid_t */ |
| 261 | 268 |
| 262 /* Define to `unsigned int' if <sys/types.h> does not define. */ | 269 /* Define to `unsigned int' if <sys/types.h> does not define. */ |
| 263 /* #undef size_t */ | 270 /* #undef size_t */ |
| 264 | 271 |
| 265 /* Define to unsigned int if you dont have it */ | 272 /* Define to unsigned int if you dont have it */ |
| 266 /* #undef socklen_t */ | 273 /* #undef socklen_t */ |
| OLD | NEW |