diff options
| author | Daniel Colascione | 2012-08-31 22:38:52 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2012-08-31 22:38:52 -0800 |
| commit | 17a2cbbd76385d0be8a4b28974e64f4debf459c1 (patch) | |
| tree | c9d9f61e8580269679c9583ee94ccd812cca5790 /src/process.c | |
| parent | c650a5dec69902c684c5333befd35da6c518c5e0 (diff) | |
| download | emacs-17a2cbbd76385d0be8a4b28974e64f4debf459c1.tar.gz emacs-17a2cbbd76385d0be8a4b28974e64f4debf459c1.zip | |
Refactor window-system configuration
This change streamlines the window system selection code in
configure.in and moves many common function declarations from
window-specific headers to frame.h. It introduces a new TERM_HEADER
macro in config.h: we set this macro to the right header to use for
the window system for which we're compiling Emacs and have source
files include it indirectly. This way, we don't have to teach every
file about every window system.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index fbe56ebcb54..bfac054c3c2 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -116,12 +116,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 116 | #include "gnutls.h" | 116 | #include "gnutls.h" |
| 117 | #endif | 117 | #endif |
| 118 | 118 | ||
| 119 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 120 | #include TERM_HEADER | ||
| 121 | #endif /* HAVE_WINDOW_SYSTEM */ | ||
| 122 | |||
| 119 | #if defined (USE_GTK) || defined (HAVE_GCONF) || defined (HAVE_GSETTINGS) | 123 | #if defined (USE_GTK) || defined (HAVE_GCONF) || defined (HAVE_GSETTINGS) |
| 120 | #include "xgselect.h" | 124 | #include "xgselect.h" |
| 121 | #endif | 125 | #endif |
| 122 | #ifdef HAVE_NS | ||
| 123 | #include "nsterm.h" | ||
| 124 | #endif | ||
| 125 | 126 | ||
| 126 | /* Work around GCC 4.7.0 bug with strict overflow checking; see | 127 | /* Work around GCC 4.7.0 bug with strict overflow checking; see |
| 127 | <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52904>. | 128 | <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52904>. |