Commit 4777478a authored by Dan Nicolaescu's avatar Dan Nicolaescu

* configure.in (NO_INLINE, noinline): Move here from src/xterm.c.

* src/xterm.c (NO_INLINE, noinline): Move definitions to ../configure.in.
parent a3d5088d
2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
* configure.in (NO_INLINE, noinline): Move here from src/xterm.c.
2010-10-01 Dan Nicolaescu <dann@ics.uci.edu>
* configure.in: Include stdlib.h and string.h unconditionally.
......
......@@ -3643,6 +3643,17 @@ typedef unsigned size_t;
#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__
......
2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
* xterm.c (NO_INLINE, noinline): Move definitions to ../configure.in.
Include <fcntl.h> unconditionally.
* termcap.c:
* sysdep.c:
......
......@@ -1206,6 +1206,17 @@ typedef unsigned size_t;
#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__
......
......@@ -7729,18 +7729,6 @@ x_error_handler (Display *display, XErrorEvent *error)
/* .gdbinit puts a breakpoint here, so make sure it is not inlined. */
#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
/* On older GCC versions, just putting x_error_quitter
after x_error_handler prevents inlining into the former. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment