handle gmp in c++
This commit is contained in:
parent
2f621e5b47
commit
916f010504
@ -24,6 +24,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
#if USE_GMP
|
||||||
|
#include <gmpxx.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
@ -31,9 +35,6 @@ extern "C" {
|
|||||||
#define old_cplusplus __cplusplus
|
#define old_cplusplus __cplusplus
|
||||||
#undef __cplusplus
|
#undef __cplusplus
|
||||||
#endif
|
#endif
|
||||||
#if USE_GMP
|
|
||||||
#include <gmp.h>
|
|
||||||
#endif
|
|
||||||
#ifdef old_cplusplus
|
#ifdef old_cplusplus
|
||||||
#define __cplusplus old_cplusplus
|
#define __cplusplus old_cplusplus
|
||||||
#undef old_cplusplus
|
#undef old_cplusplus
|
||||||
|
Reference in New Issue
Block a user