FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/Modules/_decimal/windows/mpdecimal.h at 3.15 · python/cpython · GitHub
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.3k
(2.3k)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
Modules
/
_decimal
/
windows
/
mpdecimal.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (16 loc) · 443 Bytes
Breadcrumbs
cpython
/
Modules
/
_decimal
/
windows
/
mpdecimal.h
Copy path
File metadata and controls
17 lines (16 loc) · 443 Bytes
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
/* Windows mpdecimal.h shim
*
* Generally, the mpdecimal library build will copy the correct header into
* place named "mpdecimal.h", but since we're building it ourselves directly
* into _decimal.pyd, we need to pick the right one.
*
* */
#if
defined(
_MSC_VER
)
#if
defined(
CONFIG_64
)
#include
<mpdecimal64vc.h>
#elif
defined(
CONFIG_32
)
#include
<mpdecimal32vc.h>
#else
#error
"Unknown configuration!"
#endif
#endif
Back
|
FazBrowse Home
|
New Git URL