diff options
| author | Glenn Morris | 2017-08-27 10:06:30 -0700 |
|---|---|---|
| committer | Glenn Morris | 2017-08-27 10:06:30 -0700 |
| commit | c99507645a2dbcb08224c8075bc6675dd1b09bbc (patch) | |
| tree | fb0c6414f959a09cefd6b1984a382cf3bf987c28 /src | |
| parent | 853ed4533bbddf16c50ad12ed1db70fa252715fb (diff) | |
| download | emacs-c99507645a2dbcb08224c8075bc6675dd1b09bbc.tar.gz emacs-c99507645a2dbcb08224c8075bc6675dd1b09bbc.zip | |
Fix previous xterm.h change for non-gtk builds
* src/xterm.h (GTK_CHECK_VERSION) [!USE_GTK]: Define it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h index 8521cb4c9f3..b16d3023f0a 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -48,6 +48,7 @@ typedef Widget xt_or_gtk_widget; | |||
| 48 | #ifdef USE_GTK | 48 | #ifdef USE_GTK |
| 49 | #include <gtk/gtk.h> | 49 | #include <gtk/gtk.h> |
| 50 | #include <gdk/gdkx.h> | 50 | #include <gdk/gdkx.h> |
| 51 | #endif /* USE_GTK */ | ||
| 51 | 52 | ||
| 52 | /* True iff GTK's version is at least I.J.K. */ | 53 | /* True iff GTK's version is at least I.J.K. */ |
| 53 | #ifndef GTK_CHECK_VERSION | 54 | #ifndef GTK_CHECK_VERSION |
| @@ -62,6 +63,7 @@ typedef Widget xt_or_gtk_widget; | |||
| 62 | # endif | 63 | # endif |
| 63 | #endif | 64 | #endif |
| 64 | 65 | ||
| 66 | #ifdef USE_GTK | ||
| 65 | /* Some definitions to reduce conditionals. */ | 67 | /* Some definitions to reduce conditionals. */ |
| 66 | typedef GtkWidget *xt_or_gtk_widget; | 68 | typedef GtkWidget *xt_or_gtk_widget; |
| 67 | #undef XSync | 69 | #undef XSync |