summaryrefslogtreecommitdiffstats
path: root/Modules/_decimal/windows/mpdecimal.h
blob: 77bc6229fbc119b6591d79e219878d0107b970a7 (plain)
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