source: git/libpolys/coeffs/si_gmp.h @ fa1598

spielwiese
Last change on this file since fa1598 was 7ee69f, checked in by Oleksandr Motsak <http://goo.gl/mcpzY>, 11 years ago
Due to Max Horn's "Include stddef.h before gmp.h"
  • Property mode set to 100644
File size: 477 bytes
Line 
1#ifndef COEFFS_SI_GMP_H
2#define COEFFS_SI_GMP_H
3
4#include <stddef.h>
5
6#ifdef HAVE_FACTORY
7// just assume that factory have been built (cplusplus.h!)
8// instead of duplicating cf_gmp.h here for now...
9#include <factory/cf_gmp.h>
10#else
11#include <gmp.h>
12#endif
13
14#ifndef mpz_size1
15// This is taken from longrat.h: it seems to be generally GMP-related
16#define mpz_size1(A) (ABS((A)->_mp_size))
17//#define mpz_size1(A) mpz_size(A)
18#endif // mpz_size1
19
20
21#endif /* ! COEFFS_SI_GMP_H */
Note: See TracBrowser for help on using the repository browser.