apr.hwc (302408) | apr.hwc (362181) |
---|---|
1/* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 --- 11 unchanged lines hidden (view full) --- 20 21/* GENERATED FILE WARNING! DO NOT EDIT apr.h 22 * 23 * You must modify apr.hwc instead. 24 * 25 * And please, make an effort to stub apr.hnw and apr.h.in in the process. 26 * 27 * This is the Win32 specific version of apr.h. It is copied from | 1/* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 --- 11 unchanged lines hidden (view full) --- 20 21/* GENERATED FILE WARNING! DO NOT EDIT apr.h 22 * 23 * You must modify apr.hwc instead. 24 * 25 * And please, make an effort to stub apr.hnw and apr.h.in in the process. 26 * 27 * This is the Win32 specific version of apr.h. It is copied from |
28 * apr.hw by the apr.dsp and libapr.dsp projects. | 28 * apr.hw by the apr.dsp and libapr.dsp projects. |
29 */ 30 31/** 32 * @file apr.h 33 * @brief APR Platform Definitions 34 * @remark This is a generated header generated from include/apr.h.in by 35 * ./configure, or copied from include/apr.hw or include/apr.hnw 36 * for Win32 or Netware by those build environments, respectively. --- 18 unchanged lines hidden (view full) --- 55 * C4075: slight indirection changes (unsigned short* vs short[]) 56 * C4100: unreferenced formal parameter 57 * C4127: conditional expression is constant 58 * C4163: '_rotl64' : not available as an intrinsic function 59 * C4201: nonstandard extension nameless struct/unions 60 * C4244: int to char/short - precision loss 61 * C4514: unreferenced inline function removed 62 */ | 29 */ 30 31/** 32 * @file apr.h 33 * @brief APR Platform Definitions 34 * @remark This is a generated header generated from include/apr.h.in by 35 * ./configure, or copied from include/apr.hw or include/apr.hnw 36 * for Win32 or Netware by those build environments, respectively. --- 18 unchanged lines hidden (view full) --- 55 * C4075: slight indirection changes (unsigned short* vs short[]) 56 * C4100: unreferenced formal parameter 57 * C4127: conditional expression is constant 58 * C4163: '_rotl64' : not available as an intrinsic function 59 * C4201: nonstandard extension nameless struct/unions 60 * C4244: int to char/short - precision loss 61 * C4514: unreferenced inline function removed 62 */ |
63#if defined(_MSC_VER) |
|
63#pragma warning(disable: 4100 4127 4163 4201 4514; once: 4057 4075 4244) | 64#pragma warning(disable: 4100 4127 4163 4201 4514; once: 4057 4075 4244) |
65#endif |
|
64 65/* Ignore Microsoft's interpretation of secure development 66 * and the POSIX string handling API 67 */ 68#if defined(_MSC_VER) && _MSC_VER >= 1400 69#ifndef _CRT_SECURE_NO_DEPRECATE 70#define _CRT_SECURE_NO_DEPRECATE 71#endif --- 132 unchanged lines hidden (view full) --- 204#define APR_HAVE_UNISTD_H 0 205#define APR_HAVE_STDDEF_H 0 206#define APR_HAVE_PROCESS_H 0 207#endif 208 209/** @} */ 210/** @} */ 211 | 66 67/* Ignore Microsoft's interpretation of secure development 68 * and the POSIX string handling API 69 */ 70#if defined(_MSC_VER) && _MSC_VER >= 1400 71#ifndef _CRT_SECURE_NO_DEPRECATE 72#define _CRT_SECURE_NO_DEPRECATE 73#endif --- 132 unchanged lines hidden (view full) --- 206#define APR_HAVE_UNISTD_H 0 207#define APR_HAVE_STDDEF_H 0 208#define APR_HAVE_PROCESS_H 0 209#endif 210 211/** @} */ 212/** @} */ 213 |
212/* We don't include our conditional headers within the doxyblocks 213 * or the extern "C" namespace | 214/* We don't include our conditional headers within the doxyblocks 215 * or the extern "C" namespace |
214 */ 215 216#if APR_HAVE_STDLIB_H 217#include <stdlib.h> 218#endif | 216 */ 217 218#if APR_HAVE_STDLIB_H 219#include <stdlib.h> 220#endif |
221 |
|
219#if APR_HAVE_STDIO_H 220#include <stdio.h> 221#endif | 222#if APR_HAVE_STDIO_H 223#include <stdio.h> 224#endif |
225 |
|
222#if APR_HAVE_SYS_TYPES_H 223#include <sys/types.h> 224#endif | 226#if APR_HAVE_SYS_TYPES_H 227#include <sys/types.h> 228#endif |
229 |
|
225#if APR_HAVE_STDDEF_H 226#include <stddef.h> 227#endif | 230#if APR_HAVE_STDDEF_H 231#include <stddef.h> 232#endif |
233 234#if APR_HAVE_SYS_SOCKET_H 235#include <sys/socket.h> 236#endif 237 238#if APR_HAVE_STDINT_H 239#include <stdint.h> 240#endif 241 242#if APR_HAVE_SYS_WAIT_H 243#include <sys/wait.h> 244#endif 245 |
|
228#if APR_HAVE_TIME_H 229#include <time.h> 230#endif | 246#if APR_HAVE_TIME_H 247#include <time.h> 248#endif |
249 |
|
231#if APR_HAVE_PROCESS_H 232#include <process.h> 233#endif 234 235#ifdef __cplusplus 236extern "C" { 237#endif 238 --- 14 unchanged lines hidden (view full) --- 253#define APR_USE_SHMEM_MMAP_TMP 0 254#define APR_USE_SHMEM_MMAP_SHM 0 255#define APR_USE_SHMEM_MMAP_ZERO 0 256#define APR_USE_SHMEM_SHMGET_ANON 0 257#define APR_USE_SHMEM_SHMGET 0 258#define APR_USE_SHMEM_MMAP_ANON 0 259#define APR_USE_SHMEM_BEOS 0 260 | 250#if APR_HAVE_PROCESS_H 251#include <process.h> 252#endif 253 254#ifdef __cplusplus 255extern "C" { 256#endif 257 --- 14 unchanged lines hidden (view full) --- 272#define APR_USE_SHMEM_MMAP_TMP 0 273#define APR_USE_SHMEM_MMAP_SHM 0 274#define APR_USE_SHMEM_MMAP_ZERO 0 275#define APR_USE_SHMEM_SHMGET_ANON 0 276#define APR_USE_SHMEM_SHMGET 0 277#define APR_USE_SHMEM_MMAP_ANON 0 278#define APR_USE_SHMEM_BEOS 0 279 |
261#define APR_USE_FLOCK_SERIALIZE 0 | 280#define APR_USE_FLOCK_SERIALIZE 0 |
262#define APR_USE_POSIXSEM_SERIALIZE 0 263#define APR_USE_SYSVSEM_SERIALIZE 0 264#define APR_USE_FCNTL_SERIALIZE 0 | 281#define APR_USE_POSIXSEM_SERIALIZE 0 282#define APR_USE_SYSVSEM_SERIALIZE 0 283#define APR_USE_FCNTL_SERIALIZE 0 |
265#define APR_USE_PROC_PTHREAD_SERIALIZE 0 266#define APR_USE_PTHREAD_SERIALIZE 0 | 284#define APR_USE_PROC_PTHREAD_SERIALIZE 0 285#define APR_USE_PTHREAD_SERIALIZE 0 |
267 268#define APR_HAS_FLOCK_SERIALIZE 0 269#define APR_HAS_SYSVSEM_SERIALIZE 0 270#define APR_HAS_POSIXSEM_SERIALIZE 0 271#define APR_HAS_FCNTL_SERIALIZE 0 272#define APR_HAS_PROC_PTHREAD_SERIALIZE 0 273 274#define APR_PROCESS_LOCK_IS_GLOBAL 0 275 276#define APR_HAVE_CORKABLE_TCP 0 277#define APR_HAVE_GETRLIMIT 0 278#define APR_HAVE_ICONV 0 279#define APR_HAVE_IN_ADDR 1 280#define APR_HAVE_INET_ADDR 1 281#define APR_HAVE_INET_NETWORK 0 282#define APR_HAVE_IPV6 @apr_have_ipv6_10@ | 286 287#define APR_HAS_FLOCK_SERIALIZE 0 288#define APR_HAS_SYSVSEM_SERIALIZE 0 289#define APR_HAS_POSIXSEM_SERIALIZE 0 290#define APR_HAS_FCNTL_SERIALIZE 0 291#define APR_HAS_PROC_PTHREAD_SERIALIZE 0 292 293#define APR_PROCESS_LOCK_IS_GLOBAL 0 294 295#define APR_HAVE_CORKABLE_TCP 0 296#define APR_HAVE_GETRLIMIT 0 297#define APR_HAVE_ICONV 0 298#define APR_HAVE_IN_ADDR 1 299#define APR_HAVE_INET_ADDR 1 300#define APR_HAVE_INET_NETWORK 0 301#define APR_HAVE_IPV6 @apr_have_ipv6_10@ |
302#define APR_HAVE_SOCKADDR_UN 0 |
|
283#define APR_HAVE_MEMMOVE 1 284#define APR_HAVE_SETRLIMIT 0 285#define APR_HAVE_SIGACTION 0 286#define APR_HAVE_SIGSUSPEND 0 287#define APR_HAVE_SIGWAIT 0 288#define APR_HAVE_SA_STORAGE 0 289#define APR_HAVE_STRCASECMP 0 290#define APR_HAVE_STRDUP 1 --- 20 unchanged lines hidden (view full) --- 311#define APR_HAS_FORK 0 312#define APR_HAS_RANDOM 1 313#define APR_HAS_OTHER_CHILD 1 314#define APR_HAS_DSO 1 315#define APR_HAS_SO_ACCEPTFILTER 0 316#define APR_HAS_UNICODE_FS 1 317#define APR_HAS_PROC_INVOKED 1 318#define APR_HAS_OS_UUID 1 | 303#define APR_HAVE_MEMMOVE 1 304#define APR_HAVE_SETRLIMIT 0 305#define APR_HAVE_SIGACTION 0 306#define APR_HAVE_SIGSUSPEND 0 307#define APR_HAVE_SIGWAIT 0 308#define APR_HAVE_SA_STORAGE 0 309#define APR_HAVE_STRCASECMP 0 310#define APR_HAVE_STRDUP 1 --- 20 unchanged lines hidden (view full) --- 331#define APR_HAS_FORK 0 332#define APR_HAS_RANDOM 1 333#define APR_HAS_OTHER_CHILD 1 334#define APR_HAS_DSO 1 335#define APR_HAS_SO_ACCEPTFILTER 0 336#define APR_HAS_UNICODE_FS 1 337#define APR_HAS_PROC_INVOKED 1 338#define APR_HAS_OS_UUID 1 |
339#define APR_HAS_TIMEDLOCKS 1 |
|
319 320#ifndef _WIN32_WCE 321#define APR_HAS_SENDFILE 1 322#define APR_HAS_USER 1 323#define APR_HAS_LARGE_FILES 1 324#define APR_HAS_XTHREAD_FILES 1 325#define APR_PROCATTR_USER_SET_REQUIRES_PASSWORD 1 326#else --- 19 unchanged lines hidden (view full) --- 346#define APR_TCP_NOPUSH_FLAG @apr_tcp_nopush_flag@ 347 348/* Is the TCP_NODELAY socket option inherited from listening sockets? 349 */ 350#define APR_TCP_NODELAY_INHERITED 1 351 352/* Is the O_NONBLOCK flag inherited from listening sockets? 353 */ | 340 341#ifndef _WIN32_WCE 342#define APR_HAS_SENDFILE 1 343#define APR_HAS_USER 1 344#define APR_HAS_LARGE_FILES 1 345#define APR_HAS_XTHREAD_FILES 1 346#define APR_PROCATTR_USER_SET_REQUIRES_PASSWORD 1 347#else --- 19 unchanged lines hidden (view full) --- 367#define APR_TCP_NOPUSH_FLAG @apr_tcp_nopush_flag@ 368 369/* Is the TCP_NODELAY socket option inherited from listening sockets? 370 */ 371#define APR_TCP_NODELAY_INHERITED 1 372 373/* Is the O_NONBLOCK flag inherited from listening sockets? 374 */ |
354#define APR_O_NONBLOCK_INHERITED 1 | 375#define APR_O_NONBLOCK_INHERITED 1 |
355 356/* Typedefs that APR needs. */ 357 358typedef unsigned char apr_byte_t; 359 360typedef short apr_int16_t; 361typedef unsigned short apr_uint16_t; 362 --- 255 unchanged lines hidden (view full) --- 618#endif 619 620#ifndef WS2TCPIP_INLINE 621#define IN6_IS_ADDR_V4MAPPED(a) \ 622 ( (*(const apr_uint64_t *)(const void *)(&(a)->s6_addr[0]) == 0) \ 623 && (*(const apr_uint32_t *)(const void *)(&(a)->s6_addr[8]) == ntohl(0x0000ffff))) 624#endif 625 | 376 377/* Typedefs that APR needs. */ 378 379typedef unsigned char apr_byte_t; 380 381typedef short apr_int16_t; 382typedef unsigned short apr_uint16_t; 383 --- 255 unchanged lines hidden (view full) --- 639#endif 640 641#ifndef WS2TCPIP_INLINE 642#define IN6_IS_ADDR_V4MAPPED(a) \ 643 ( (*(const apr_uint64_t *)(const void *)(&(a)->s6_addr[0]) == 0) \ 644 && (*(const apr_uint32_t *)(const void *)(&(a)->s6_addr[8]) == ntohl(0x0000ffff))) 645#endif 646 |
626#endif /* APR_HAS_IPV6 */ | 647#endif /* APR_HAVE_IPV6 */ |
627 628#ifdef __cplusplus 629} 630#endif 631 | 648 649#ifdef __cplusplus 650} 651#endif 652 |
632/* Done with badly written headers | 653/* Done with badly written headers, leave 'deprecated CRT' undeprecated |
633 */ 634#if defined(_MSC_VER) && _MSC_VER >= 1200 635#pragma warning(pop) | 654 */ 655#if defined(_MSC_VER) && _MSC_VER >= 1200 656#pragma warning(pop) |
657#if _MSC_VER >= 1400 |
|
636#pragma warning(disable: 4996) 637#endif | 658#pragma warning(disable: 4996) 659#endif |
660#endif |
|
638 639#endif /* WIN32 */ 640 641#endif /* APR_H */ | 661 662#endif /* WIN32 */ 663 664#endif /* APR_H */ |