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