Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 198830 | Differences between
and this patch

Collapse All | Expand All

(-)gmp-4.2.1-orig/gmp-h.in (-1 / +8 lines)
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
(-)gmp-4.2.1-orig/tests/cxx/t-locale.cc (+1 lines)
Lines 20-25 Link Here
20
MA 02110-1301, USA. */
20
MA 02110-1301, USA. */
21
21
22
#include <clocale>
22
#include <clocale>
23
#include <cstdlib>
23
#include <iostream>
24
#include <iostream>
24
25
25
#include "gmp.h"
26
#include "gmp.h"

Return to bug 198830