Debian Codegraph @

Modules/_decimal/windows/mpdecimal.h

raw
1 /* Windows mpdecimal.h shim
2 *
3 * Generally, the mpdecimal library build will copy the correct header into
4 * place named "mpdecimal.h", but since we're building it ourselves directly
5 * into _decimal.pyd, we need to pick the right one.
6 *
7 * */
8
9 #if defined(_MSC_VER)
10 #if defined(CONFIG_64)
11 #include <mpdecimal64vc.h>
12 #elif defined(CONFIG_32)
13 #include <mpdecimal32vc.h>
14 #else
15 #error "Unknown configuration!"
16 #endif
17 #endif