Ticket #16634: patch-gmp-gnu-inline.diff
File patch-gmp-gnu-inline.diff, 1.2 KB (added by raimue (Rainer Müller), 16 years ago) |
---|
-
gmp.h
1 1 /* Definitions for GNU multiple precision functions. -*- mode: c -*- 2 2 3 3 Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 4 2004, 2005, 2006, 2007 Free Software Foundation, Inc.4 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 5 5 6 6 This file is part of the GNU MP Library. 7 7 … … typedef __mpq_struct *mpq_ptr; 418 418 for an inline too, so as to correctly specify "dllimport" on windows, in 419 419 case the function is called rather than inlined. 420 420 GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 421 inline semantics, unless -fgnu89-inline is used. */ 421 inline semantics, unless -fgnu89-inline is used. 422 423 With GCC 4.2, `__GNUC_STDC_INLINE__' is never defined (because C99 inline 424 semantics are not supported), but a warning is issued in C99 mode if 425 `__gnu_inline__' is not used. */ 422 426 #ifdef __GNUC__ 423 #if def __GNUC_STDC_INLINE__427 #if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) 424 428 #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__)) 425 429 #else 426 430 #define __GMP_EXTERN_INLINE extern __inline__