Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
cpython/Include/pymacconfig.h at pythoncapi · pythoncapi/cpython · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
pythoncapi
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
pythoncapi
Breadcrumbs
cpython
/
Include
/
pymacconfig.h
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
102 lines (88 loc) · 2.92 KB
pythoncapi
Breadcrumbs
cpython
/
Include
/
pymacconfig.h
Copy path
Top
File metadata and controls
Code
Blame
102 lines (88 loc) · 2.92 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#ifndef
PYMACCONFIG_H
#define
PYMACCONFIG_H
/*
* This file moves some of the autoconf magic to compile-time
* when building on MacOSX. This is needed for building 4-way
* universal binaries and for 64-bit universal binaries because
* the values redefined below aren't configure-time constant but
* only compile-time constant in these scenarios.
*/
#if
defined(
__APPLE__
)
# undef
SIZEOF_LONG
# undef
SIZEOF_PTHREAD_T
# undef
SIZEOF_SIZE_T
# undef
SIZEOF_TIME_T
# undef
SIZEOF_VOID_P
# undef
SIZEOF__BOOL
# undef
SIZEOF_UINTPTR_T
# undef
SIZEOF_PTHREAD_T
# undef
WORDS_BIGENDIAN
# undef
DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754
# undef
DOUBLE_IS_BIG_ENDIAN_IEEE754
# undef
DOUBLE_IS_LITTLE_ENDIAN_IEEE754
# undef
HAVE_GCC_ASM_FOR_X87
# undef
VA_LIST_IS_ARRAY
# if
defined(
__LP64__
)
&&
defined(
__x86_64__
)
# define
VA_LIST_IS_ARRAY
1
# endif
# undef
HAVE_LARGEFILE_SUPPORT
# ifndef
__LP64__
# define
HAVE_LARGEFILE_SUPPORT
1
# endif
# undef
SIZEOF_LONG
# ifdef
__LP64__
# define
SIZEOF__BOOL
1
# define
SIZEOF__BOOL
1
# define
SIZEOF_LONG
8
# define
SIZEOF_PTHREAD_T
8
# define
SIZEOF_SIZE_T
8
# define
SIZEOF_TIME_T
8
# define
SIZEOF_VOID_P
8
# define
SIZEOF_UINTPTR_T
8
# define
SIZEOF_PTHREAD_T
8
# else
# ifdef
__ppc__
# define
SIZEOF__BOOL
4
# else
# define
SIZEOF__BOOL
1
# endif
# define
SIZEOF_LONG
4
# define
SIZEOF_PTHREAD_T
4
# define
SIZEOF_SIZE_T
4
# define
SIZEOF_TIME_T
4
# define
SIZEOF_VOID_P
4
# define
SIZEOF_UINTPTR_T
4
# define
SIZEOF_PTHREAD_T
4
# endif
# if
defined(
__LP64__
)
/* MacOSX 10.4 (the first release to support 64-bit code
* at all) only supports 64-bit in the UNIX layer.
* Therefore suppress the toolbox-glue in 64-bit mode.
*/
/* In 64-bit mode setpgrp always has no arguments, in 32-bit
* mode that depends on the compilation environment
*/
# undef
SETPGRP_HAVE_ARG
# endif
#ifdef
__BIG_ENDIAN__
#define
WORDS_BIGENDIAN
1
#define
DOUBLE_IS_BIG_ENDIAN_IEEE754
#else
#define
DOUBLE_IS_LITTLE_ENDIAN_IEEE754
#endif
/* __BIG_ENDIAN */
#ifdef
__i386__
# define
HAVE_GCC_ASM_FOR_X87
#endif
/*
* The definition in pyconfig.h is only valid on the OS release
* where configure ran on and not necessarily for all systems where
* the executable can be used on.
*
* Specifically: OSX 10.4 has limited supported for '%zd', while
* 10.5 has full support for '%zd'. A binary built on 10.5 won't
* work properly on 10.4 unless we suppress the definition
* of PY_FORMAT_SIZE_T
*/
#undef
PY_FORMAT_SIZE_T
#endif
/* defined(_APPLE__) */
#endif
/* PYMACCONFIG_H */
You can’t perform that action at this time.