/
githubmirror
/
cpython
Обзор
Документация
Войти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Modules/_decimal/windows/mpdecimal.h
17 строк
443 B
Zachary Ware
gh-115119: Switch Windows build to mpdecimal external (GH-115182)
18 мар 2024, 20:07
Не верифицирован
18 мар 2024, 20:07
849e071
Код
Авторство
О чём код?
/* 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