Fixed a std::FILE issue in gmp.h and a missing <cstdlib> in t-locale.cc
This commit is contained in:
parent
38f99e4992
commit
7eb253056e
2
gmp-h.in
2
gmp-h.in
@ -529,8 +529,10 @@ typedef __mpq_struct *mpq_ptr;
|
||||
|
||||
#if defined (__cplusplus)
|
||||
extern "C" {
|
||||
#ifdef _GMP_H_HAVE_FILE
|
||||
using std::FILE;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define mp_set_memory_functions __gmp_set_memory_functions
|
||||
__GMP_DECLSPEC void mp_set_memory_functions __GMP_PROTO ((void *(*) (size_t),
|
||||
|
@ -21,6 +21,7 @@ MA 02110-1301, USA. */
|
||||
|
||||
#include <clocale>
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "gmp.h"
|
||||
#include "gmp-impl.h"
|
||||
|
Loading…
Reference in New Issue
Block a user