summaryrefslogtreecommitdiff
path: root/libraries/integer-gmp/include/HsIntegerGmp.h.in
blob: ba0767cae7000fcb0e25e6fc2a81ed21934a3b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _HS_INTEGER_GMP_H_
#define _HS_INTEGER_GMP_H_

/* Whether GMP is embedded into integer-gmp */
#define GHC_GMP_INTREE     @UseIntreeGmp@

/* The following values denote the GMP version used during GHC build-time */
#define GHC_GMP_VERSION_MJ @GhcGmpVerMj@
#define GHC_GMP_VERSION_MI @GhcGmpVerMi@
#define GHC_GMP_VERSION_PL @GhcGmpVerPl@
#define GHC_GMP_VERSION \
    (@GhcGmpVerMj@ * 10000 + @GhcGmpVerMi@ * 100 + @GhcGmpVerPl@)

#endif /* _HS_INTEGER_GMP_H_ */