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

jengelh-datetimespielwiese
Last change on this file since 868735 was 868735, checked in by Oleksandr Motsak <motsak@…>, 11 years ago
removal of the dirty "include gmp.h without C++ declarations" hack NOTE: the hack messes up any later STD C++ library inclusions since one has to include bits/c++config.h before un- or re- defining __cplusplus
  • Property mode set to 100644
File size: 457 bytes
Line 
1#ifndef COEFFS_SI_GMP_H
2#define COEFFS_SI_GMP_H
3
4
5#ifdef HAVE_FACTORY
6// just assume that factory have been built (cplusplus.h!)
7// instead of duplicating cf_gmp.h here for now...
8#include <factory/cf_gmp.h>
9#else
10#include <gmp.h>
11#endif
12
13#ifndef mpz_size1
14// This is taken from longrat.h: it seems to be generally GMP-related
15#define mpz_size1(A) (ABS((A)->_mp_size))
16//#define mpz_size1(A) mpz_size(A)
17#endif // mpz_size1
18
19
20#endif /* ! COEFFS_SI_GMP_H */
Note: See TracBrowser for help on using the repository browser.