Lines 24-29
Link Here
|
24 |
|
24 |
|
25 |
#if defined (__cplusplus) |
25 |
#if defined (__cplusplus) |
26 |
#include <iosfwd> /* for std::istream, std::ostream, std::string */ |
26 |
#include <iosfwd> /* for std::istream, std::ostream, std::string */ |
|
|
27 |
#include <cstdio> /* for std::FILE */ |
27 |
#endif |
28 |
#endif |
28 |
|
29 |
|
29 |
|
30 |
|
Lines 418-426
Link Here
|
418 |
|
419 |
|
419 |
/* gcc has __inline__ in all modes, including strict ansi. Give a prototype |
420 |
/* gcc has __inline__ in all modes, including strict ansi. Give a prototype |
420 |
for an inline too, so as to correctly specify "dllimport" on windows, in |
421 |
for an inline too, so as to correctly specify "dllimport" on windows, in |
421 |
case the function is called rather than inlined. */ |
422 |
case the function is called rather than inlined. |
|
|
423 |
GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 |
424 |
inline semantics, unless -fgnu89-inline is used. */ |
422 |
#ifdef __GNUC__ |
425 |
#ifdef __GNUC__ |
|
|
426 |
#ifdef __GNUC_STDC_INLINE__ |
427 |
#define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__)) |
428 |
#else |
423 |
#define __GMP_EXTERN_INLINE extern __inline__ |
429 |
#define __GMP_EXTERN_INLINE extern __inline__ |
|
|
430 |
#endif |
424 |
#define __GMP_INLINE_PROTOTYPES 1 |
431 |
#define __GMP_INLINE_PROTOTYPES 1 |
425 |
#endif |
432 |
#endif |
426 |
|
433 |
|