spielwiese
Last change
on this file since f78374 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
|
Line | |
---|
1 | #ifndef SI_GMP_H |
---|
2 | #define SI_GMP_H |
---|
3 | |
---|
4 | |
---|
5 | #ifdef __cplusplus |
---|
6 | // #define __cplusplus_backup __cplusplus |
---|
7 | |
---|
8 | # ifdef DISABLE_GMP_CPP |
---|
9 | # undef __cplusplus |
---|
10 | extern "C" |
---|
11 | { |
---|
12 | # include <gmp.h> |
---|
13 | } |
---|
14 | #include <factory/cplusplus.h> |
---|
15 | #else |
---|
16 | #include <gmp.h> |
---|
17 | #endif |
---|
18 | // #define __cplusplus __cplusplus_backup |
---|
19 | #else |
---|
20 | #include <gmp.h> |
---|
21 | #endif |
---|
22 | |
---|
23 | |
---|
24 | #endif /* SI_GMP_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.