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