aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorDaniel Colascione2012-08-31 22:38:52 -0800
committerDaniel Colascione2012-08-31 22:38:52 -0800
commit17a2cbbd76385d0be8a4b28974e64f4debf459c1 (patch)
treec9d9f61e8580269679c9583ee94ccd812cca5790 /nt
parentc650a5dec69902c684c5333befd35da6c518c5e0 (diff)
downloademacs-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 'nt')
-rw-r--r--nt/ChangeLog4
-rw-r--r--nt/inc/ms-w32.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 7729f09d00f..1085138e3f6 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,7 @@
12012-09-01 Daniel Colascione <dancol@dancol.org>
2
3 * inc/ms-w32.h (TERM_HEADER): Add for refactoring
4
12012-08-22 Juanma Barranquero <lekktu@gmail.com> 52012-08-22 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * config.nt: Sync with autogen/config.in. 7 * config.nt: Sync with autogen/config.in.
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h
index 022b168c0b8..8945fb7be4d 100644
--- a/nt/inc/ms-w32.h
+++ b/nt/inc/ms-w32.h
@@ -424,4 +424,7 @@ extern void _DebPrint (const char *fmt, ...);
424#define DebPrint(stuff) 424#define DebPrint(stuff)
425#endif 425#endif
426 426
427#define TERM_HEADER "w32term.h"
428
429
427/* ============================================================ */ 430/* ============================================================ */