Mercurial > emacs
diff src/config.in @ 110735:4dfed46bce9a
* configure.in (NO_INLINE, noinline): Move here from src/xterm.c.
* src/xterm.c (NO_INLINE, noinline): Move definitions to ../configure.in.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 03 Oct 2010 08:39:21 -0700 |
parents | 55c8c3ca3d48 |
children | e63fc1b578e7 |
line wrap: on
line diff
--- a/src/config.in Sun Oct 03 08:19:34 2010 -0700 +++ b/src/config.in Sun Oct 03 08:39:21 2010 -0700 @@ -1206,6 +1206,17 @@ #define NO_RETURN /* nothing */ #endif +#if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */ +#define NO_INLINE __attribute__((noinline)) +#else +#define NO_INLINE +#endif + +/* Some versions of GNU/Linux define noinline in their headers. */ +#ifdef noinline +#undef noinline +#endif + /* These won't be used automatically yet. We also need to know, at least, that the stack is continuous. */ #ifdef __GNUC__