source: git/factory/cf_gmp.h @ c4682e0

fieker-DuValspielwiese
Last change on this file since c4682e0 was f3ea6ce, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: defining DISABLE_GMP_CPP makes cf_gmp.h to use our UGLY! hack to disable C++ functionality from gmp.h FIX: libpolys should define SINGULAR and NOSTREAMIO before using factory => went to misc/auxiliary.h
  • Property mode set to 100644
File size: 343 bytes
RevLine 
[f478f5b]1#ifndef SI_GMP_H
2#define SI_GMP_H
[daa556]3
4
[ed47edf]5#ifdef __cplusplus
[e4fe2b]6//  #define __cplusplus_backup __cplusplus
[f3ea6ce]7
8# ifdef DISABLE_GMP_CPP
9#  undef __cplusplus
10extern "C" 
11{
12#  include <gmp.h>
13}
[e4fe2b]14  #include <factory/cplusplus.h>
[f3ea6ce]15#else
16  #include <gmp.h>
17#endif
[e4fe2b]18//  #define __cplusplus __cplusplus_backup
[9d53d0]19#else
20  #include <gmp.h>
21#endif
[daa556]22
23
[f478f5b]24#endif /* SI_GMP_H */
Note: See TracBrowser for help on using the repository browser.