Blame profiles/osapi/modern.h

163f76
#ifndef PY_OSAPI_MODERN_H
163f76
#define PY_OSAPI_MODERN_H
163f76
972d50
#ifndef _XOPEN_SOURCE
972d50
#define _XOPEN_SOURCE                   700
972d50
#endif
972d50
e9a8e5
/* atomics */
e9a8e5
#ifdef  __ATOMIC_ACQUIRE
e9a8e5
#define HAVE_BUILTIN_ATOMIC             1
e9a8e5
#endif
e9a8e5
e9a8e5
#ifdef  HAVE_STDATOMIC_H
e9a8e5
#define HAVE_STD_ATOMIC                 1
e9a8e5
#endif
e9a8e5
163f76
/* stdc headers */
163f76
#define STDC_HEADERS                    1
163f76
163f76
/* sys headers */
163f76
#define HAVE_SYS_FILE_H                 1
163f76
#define HAVE_SYS_PARAM_H                1
163f76
#define HAVE_SYS_POLL_H                 1
163f76
#define HAVE_SYS_RESOURCE_H             1
163f76
#define HAVE_SYS_SELECT_H               1
163f76
#define HAVE_SYS_SOCKET_H               1
163f76
#define HAVE_SYS_STATVFS_H              1
163f76
#define HAVE_SYS_STAT_H                 1
163f76
#define HAVE_SYS_TIMES_H                1
163f76
#define HAVE_SYS_TIME_H                 1
163f76
#define HAVE_SYS_TYPES_H                1
163f76
#define HAVE_SYS_UN_H                   1
163f76
#define HAVE_SYS_UTSNAME_H              1
163f76
#define HAVE_SYS_WAIT_H                 1
163f76
163f76
/* libc and third-party headers */
163f76
#define HAVE_DLFCN_H                    1
163f76
#define HAVE_ERRNO_H                    1
163f76
#define HAVE_FCNTL_H                    1
163f76
#define HAVE_GRP_H                      1
163f76
#define HAVE_INTTYPES_H                 1
163f76
#define HAVE_LANGINFO_H                 1
163f76
#define HAVE_LIBINTL_H                  1
163f76
#define HAVE_MEMORY_H                   1
163f76
#define HAVE_POLL_H                     1
163f76
#define HAVE_PTHREAD_H                  1
163f76
#define HAVE_PTY_H                      1
163f76
#define HAVE_SHADOW_H                   1
163f76
#define HAVE_SIGNAL_H                   1
163f76
#define HAVE_SPAWN_H                    1
163f76
#define HAVE_STDINT_H                   1
163f76
#define HAVE_STDLIB_H                   1
163f76
#define HAVE_STRINGS_H                  1
163f76
#define HAVE_STRING_H                   1
163f76
#define HAVE_STROPTS_H                  1
163f76
#define HAVE_SYSEXITS_H                 1
163f76
#define HAVE_TERMIOS_H                  1
163f76
#define HAVE_TERM_H                     1
163f76
#define HAVE_UNISTD_H                   1
163f76
#define HAVE_UTIME_H                    1
163f76
#define HAVE_WCHAR_H                    1
163f76
163f76
/* interfaces */
998eeb
#define HAVE_ACCEPT4                    1
163f76
#define HAVE_ACOSH                      1
163f76
#define HAVE_ADDRINFO                   1
163f76
#define HAVE_ALARM                      1
163f76
#define HAVE_ASINH                      1
163f76
#define HAVE_ATANH                      1
163f76
#define HAVE_BIND_TEXTDOMAIN_CODESET    1
163f76
#define HAVE_CHOWN                      1
163f76
#define HAVE_CHROOT                     1
163f76
#define HAVE_CLOCK                      1
998eeb
#define HAVE_CLOCK_GETRES               1
998eeb
#define HAVE_CLOCK_GETTIME              1
998eeb
#define HAVE_CLOCK_SETTIME              1
163f76
#define HAVE_CONFSTR                    1
163f76
#define HAVE_COPYSIGN                   1
163f76
#define HAVE_CTERMID                    1
163f76
#define HAVE_DECL_ISFINITE              1
163f76
#define HAVE_DECL_ISINF                 1
163f76
#define HAVE_DECL_ISNAN                 1
163f76
#define HAVE_DEVICE_MACROS              1
163f76
#define HAVE_DEV_PTMX                   1
998eeb
#define HAVE_DIRENT_D_TYPE              1
998eeb
#define HAVE_DIRFD                      1
163f76
#define HAVE_DLOPEN                     1
163f76
#define HAVE_DUP2                       1
998eeb
#define HAVE_DUP3                       1
163f76
#define HAVE_ERF                        1
163f76
#define HAVE_ERFC                       1
163f76
#define HAVE_EXECV                      1
163f76
#define HAVE_EXPM1                      1
998eeb
#define HAVE_FACCESSAT                  1
163f76
#define HAVE_FCHDIR                     1
163f76
#define HAVE_FCHMOD                     1
998eeb
#define HAVE_FCHMODAT                   1
163f76
#define HAVE_FCHOWN                     1
998eeb
#define HAVE_FCHOWNAT                   1
163f76
#define HAVE_FDATASYNC                  1
998eeb
#define HAVE_FDOPENDIR                  1
998eeb
#define HAVE_FEXECVE                    1
163f76
#define HAVE_FINITE                     1
163f76
#define HAVE_FLOCK                      1
163f76
#define HAVE_FORK                       1
163f76
#define HAVE_FORKPTY                    1
163f76
#define HAVE_FPATHCONF                  1
163f76
#define HAVE_FSEEKO                     1
998eeb
#define HAVE_FSTATAT                    1
163f76
#define HAVE_FSTATVFS                   1
163f76
#define HAVE_FSYNC                      1
163f76
#define HAVE_FTELLO                     1
163f76
#define HAVE_FTIME                      1
163f76
#define HAVE_FTRUNCATE                  1
998eeb
#define HAVE_FUTIMENS                   1
998eeb
#define HAVE_FUTIMES                    1
998eeb
#define HAVE_FUTIMESAT                  1
163f76
#define HAVE_GAI_STRERROR               1
163f76
#define HAVE_GETADDRINFO                1
163f76
#define HAVE_GETCWD                     1
163f76
#define HAVE_GETC_UNLOCKED              1
998eeb
#define HAVE_GETGROUPLIST               1
163f76
#define HAVE_GETGROUPS                  1
163f76
#define HAVE_GETHOSTBYNAME_R            1
163f76
#define HAVE_GETHOSTBYNAME_R_6_ARG      1
163f76
#define HAVE_GETITIMER                  1
163f76
#define HAVE_GETLOADAVG                 1
163f76
#define HAVE_GETLOGIN                   1
163f76
#define HAVE_GETNAMEINFO                1
163f76
#define HAVE_GETPAGESIZE                1
163f76
#define HAVE_GETPEERNAME                1
163f76
#define HAVE_GETPGID                    1
163f76
#define HAVE_GETPGRP                    1
163f76
#define HAVE_GETPID                     1
163f76
#define HAVE_GETPRIORITY                1
163f76
#define HAVE_GETPWENT                   1
163f76
#define HAVE_GETRESGID                  1
163f76
#define HAVE_GETRESUID                  1
163f76
#define HAVE_GETSID                     1
163f76
#define HAVE_GETSPENT                   1
163f76
#define HAVE_GETSPNAM                   1
163f76
#define HAVE_GETTIMEOFDAY               1
163f76
#define HAVE_HSTRERROR                  1
998eeb
#define HAVE_HTOLE64                    1
163f76
#define HAVE_HYPOT                      1
998eeb
#define HAVE_IF_NAMEINDEX               1
163f76
#define HAVE_INET_ATON                  1
163f76
#define HAVE_INET_PTON                  1
163f76
#define HAVE_INITGROUPS                 1
163f76
#define HAVE_KILL                       1
163f76
#define HAVE_KILLPG                     1
163f76
#define HAVE_LCHMOD                     1
163f76
#define HAVE_LCHOWN                     1
163f76
#define HAVE_LGAMMA                     1
163f76
#define HAVE_LIBDL                      1
163f76
#define HAVE_LIBREADLINE                1
163f76
#define HAVE_LINK                       1
998eeb
#define HAVE_LINKAT                     1
998eeb
#define HAVE_LOCKF                      1
163f76
#define HAVE_LOG1P                      1
998eeb
#define HAVE_LOG2                       1
163f76
#define HAVE_LSTAT                      1
998eeb
#define HAVE_LUTIMES                    1
163f76
#define HAVE_MAKEDEV                    1
998eeb
#define HAVE_MBRTOWC                    1
163f76
#define HAVE_MEMMOVE                    1
998eeb
#define HAVE_MEMRCHR                    1
998eeb
#define HAVE_MKDIRAT                    1
163f76
#define HAVE_MKFIFO                     1
998eeb
#define HAVE_MKFIFOAT                   1
163f76
#define HAVE_MKNOD                      1
998eeb
#define HAVE_MKNODAT                    1
163f76
#define HAVE_MKTIME                     1
163f76
#define HAVE_MMAP                       1
163f76
#define HAVE_MREMAP                     1
163f76
#define HAVE_NICE                       1
998eeb
#define HAVE_OPENAT                     1
163f76
#define HAVE_OPENPTY                    1
163f76
#define HAVE_PATHCONF                   1
163f76
#define HAVE_PAUSE                      1
998eeb
#define HAVE_PIPE2                      1
163f76
#define HAVE_POLL                       1
998eeb
#define HAVE_POSIX_FADVISE              1
998eeb
#define HAVE_POSIX_FALLOCATE            1
998eeb
#define HAVE_PREAD                      1
998eeb
#define HAVE_PRLIMIT                    1
163f76
#define HAVE_PROTOTYPES                 1
163f76
#define HAVE_PTHREAD_ATFORK             1
998eeb
#define HAVE_PTHREAD_KILL               1
163f76
#define HAVE_PTHREAD_SIGMASK            1
163f76
#define HAVE_PUTENV                     1
998eeb
#define HAVE_PWRITE                     1
163f76
#define HAVE_READLINK                   1
998eeb
#define HAVE_READLINKAT                 1
998eeb
#define HAVE_READV                      1
163f76
#define HAVE_REALPATH                   1
998eeb
#define HAVE_RENAMEAT                   1
163f76
#define HAVE_ROUND                      1
163f76
#define HAVE_SELECT                     1
163f76
#define HAVE_SEM_GETVALUE               1
163f76
#define HAVE_SEM_OPEN                   1
163f76
#define HAVE_SEM_TIMEDWAIT              1
163f76
#define HAVE_SEM_UNLINK                 1
163f76
#define HAVE_SETEGID                    1
163f76
#define HAVE_SETEUID                    1
163f76
#define HAVE_SETGID                     1
163f76
#define HAVE_SETGROUPS                  1
998eeb
#define HAVE_SETHOSTNAME                1
163f76
#define HAVE_SETITIMER                  1
163f76
#define HAVE_SETLOCALE                  1
163f76
#define HAVE_SETPGID                    1
163f76
#define HAVE_SETPGRP                    1
998eeb
#define HAVE_SETPRIORITY                1
163f76
#define HAVE_SETREGID                   1
163f76
#define HAVE_SETRESGID                  1
163f76
#define HAVE_SETRESUID                  1
163f76
#define HAVE_SETREUID                   1
163f76
#define HAVE_SETSID                     1
163f76
#define HAVE_SETUID                     1
163f76
#define HAVE_SETVBUF                    1
163f76
#define HAVE_SIGACTION                  1
998eeb
#define HAVE_SIGALTSTACK                1
163f76
#define HAVE_SIGINTERRUPT               1
998eeb
#define HAVE_SIGPENDING                 1
163f76
#define HAVE_SIGRELSE                   1
998eeb
#define HAVE_SIGTIMEDWAIT               1
998eeb
#define HAVE_SIGWAIT                    1
998eeb
#define HAVE_SIGWAITINFO                1
163f76
#define HAVE_SNPRINTF                   1
163f76
#define HAVE_SOCKADDR_STORAGE           1
163f76
#define HAVE_SOCKETPAIR                 1
163f76
#define HAVE_STATVFS                    1
163f76
#define HAVE_STAT_TV_NSEC               1
163f76
#define HAVE_STDARG_PROTOTYPES          1
163f76
#define HAVE_STRDUP                     1
163f76
#define HAVE_STRFTIME                   1
998eeb
#define HAVE_STRLCPY                    1
998eeb
#define HAVE_STRUCT_PASSWD_PW_GECOS     1
998eeb
#define HAVE_STRUCT_PASSWD_PW_PASSWD    1
163f76
#define HAVE_STRUCT_STAT_ST_BLKSIZE     1
163f76
#define HAVE_STRUCT_STAT_ST_BLOCKS      1
163f76
#define HAVE_STRUCT_STAT_ST_RDEV        1
163f76
#define HAVE_STRUCT_TM_TM_ZONE          1
163f76
#define HAVE_SYMLINK                    1
998eeb
#define HAVE_SYMLINKAT                  1
998eeb
#define HAVE_SYNC                       1
163f76
#define HAVE_SYSCONF                    1
163f76
#define HAVE_TCGETPGRP                  1
163f76
#define HAVE_TCSETPGRP                  1
163f76
#define HAVE_TEMPNAM                    1
163f76
#define HAVE_TGAMMA                     1
163f76
#define HAVE_TIMEGM                     1
163f76
#define HAVE_TIMES                      1
163f76
#define HAVE_TMPFILE                    1
163f76
#define HAVE_TMPNAM                     1
163f76
#define HAVE_TM_ZONE                    1
163f76
#define HAVE_TRUNCATE                   1
163f76
#define HAVE_UNAME                      1
998eeb
#define HAVE_UNLINKAT                   1
163f76
#define HAVE_UNSETENV                   1
998eeb
#define HAVE_UTIMENSAT                  1
163f76
#define HAVE_UTIMES                     1
163f76
#define HAVE_WAIT3                      1
163f76
#define HAVE_WAIT4                      1
998eeb
#define HAVE_WAITID                     1
163f76
#define HAVE_WAITPID                    1
163f76
#define HAVE_WCSCOLL                    1
998eeb
#define HAVE_WCSFTIME                   1
998eeb
#define HAVE_WCSXFRM                    1
998eeb
#define HAVE_WMEMCMP                    1
163f76
#define HAVE_WORKING_TZSET              1
998eeb
#define HAVE_WRITEV                     1
163f76
#define HAVE_ZLIB_COPY                  1
163f76
#define MVWDELCH_IS_EXPRESSION          1
163f76
#define PTHREAD_SYSTEM_SCHED_SUPPORTED  1
998eeb
#define USE_INLINE                      1
998eeb
998eeb
/* readline */
998eeb
#define HAVE_RL_APPEND_HISTORY                  1
998eeb
#define HAVE_RL_CALLBACK                        1
998eeb
#define HAVE_RL_CATCH_SIGNAL                    1
998eeb
#define HAVE_RL_COMPLETION_APPEND_CHARACTER     1
998eeb
#define HAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK 1
998eeb
#define HAVE_RL_COMPLETION_MATCHES              1
998eeb
#define HAVE_RL_COMPLETION_SUPPRESS_APPEND      1
998eeb
#define HAVE_RL_PRE_INPUT_HOOK                  1
998eeb
#define HAVE_RL_RESIZE_TERMINAL                 1
163f76
163f76
/* python */
163f76
#define PY_FORMAT_LONG_LONG             "ll"
163f76
#define PY_FORMAT_SIZE_T                "z"
163f76
163f76
#define Py_ENABLE_SHARED                1
163f76
163f76
163f76
/* compiler, toolchain, and framework */
998eeb
#define HAVE_GCC_UINT128_T              1
998eeb
163f76
#define HAVE_INT32_T                    1
163f76
#define HAVE_INT64_T                    1
163f76
#define HAVE_LONG_DOUBLE                1
163f76
#define HAVE_LONG_LONG                  1
163f76
#define HAVE_SSIZE_T                    1
163f76
#define HAVE_UINT32_T                   1
163f76
#define HAVE_UINT64_T                   1
163f76
#define HAVE_UINTPTR_T                  1
163f76
163f76
#define HAVE_C99_BOOL                   1
163f76
#define HAVE_COMPUTED_GOTOS             1
41555c
#define HAVE_USABLE_WCHAR_T             1
163f76
#define WINDOW_HAS_FLAGS                1
163f76
163f76
163f76
/* preferences */
163f76
#define ENABLE_IPV6			1
163f76
#define WITH_DOC_STRINGS                1
163f76
#define WITH_LIBINTL                    1
163f76
#define WITH_THREAD                     1
163f76
163f76
f9815e
/* ssl ciphers */
f9815e
#define PY_SSL_DEFAULT_CIPHERS_CUSTOM   0
f9815e
#define PY_SSL_DEFAULT_CIPHERS_PYTHON   1
f9815e
#define PY_SSL_DEFAULT_CIPHERS_SSLLIB   2
f9815e
f9815e
#ifndef PY_SSL_DEFAULT_CIPHERS
f9815e
#define PY_SSL_DEFAULT_CIPHERS          PY_SSL_DEFAULT_CIPHERS_PYTHON
f9815e
#endif
f9815e
163f76
/* features */
163f76
#ifndef _ALL_SOURCE
163f76
#define _ALL_SOURCE                     1
163f76
#endif
163f76
163f76
#ifndef _GNU_SOURCE
163f76
#define _GNU_SOURCE                     1
163f76
#endif
163f76
163f76
#ifndef _POSIX_PTHREAD_SEMANTICS
163f76
#define _POSIX_PTHREAD_SEMANTICS        1
163f76
#endif
163f76
163f76
#ifndef _TANDEM_SOURCE
163f76
#define _TANDEM_SOURCE                  1
163f76
#endif
163f76
163f76
#ifndef __EXTENSIONS__
163f76
#define __EXTENSIONS__                  1
163f76
#endif
163f76
83ec89
#ifdef  __i386__
83ec89
#define HAVE_GCC_ASM_FOR_X87            1
83ec89
#endif
83ec89
83ec89
#ifdef  __x86_64__
83ec89
#define HAVE_GCC_ASM_FOR_X87            1
83ec89
#define HAVE_GCC_ASM_FOR_X64            1
83ec89
#endif
83ec89
163f76
163f76
#define _BSD_TYPES                      1
163f76
#define _DARWIN_C_SOURCE                1
163f76
#define _FILE_OFFSET_BITS               64
163f76
#define _GNU_SOURCE                     1
163f76
#define _LARGEFILE_SOURCE               1
163f76
#define _NETBSD_SOURCE                  1
998eeb
#define _POSIX_C_SOURCE                 200809L
163f76
#define _REENTRANT                      1
163f76
#define _XOPEN_SOURCE_EXTENDED          1
163f76
#define __BSD_VISIBLE                   1
163f76
#define __EXTENSIONS__                  1
163f76
163f76
#endif