spielwiese
Last change
on this file since 18ca94 was
ebf138,
checked in by Oleksandr Motsak <motsak@…>, 11 years ago
|
adaptation to clang + disable a GMP hack
CHG: removed gcc-specific flags --no-rtti --no-exceptions (since not available in clang)
CHG: tricks with __cpluplus (around include gmp.h) lead can to errors (e.g. in clang)
|
-
Property mode set to
100644
|
File size:
354 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 | */ |
---|
13 | |
---|
14 | # include <gmp.h> |
---|
15 | /* |
---|
16 | } |
---|
17 | #include <factory/cplusplus.h> |
---|
18 | #else |
---|
19 | #include <gmp.h> |
---|
20 | #endif |
---|
21 | // #define __cplusplus __cplusplus_backup |
---|
22 | #else |
---|
23 | #include <gmp.h> |
---|
24 | #endif |
---|
25 | */ |
---|
26 | |
---|
27 | |
---|
28 | #endif /* SI_GMP_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.