1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 20:42:48 -05:00

Include the compile-time GTK version in the build info.

It's obvious to the trained eye whether GTK PuTTY was compiled against
GTK2 or GTK3, but the untrained eye would probably appreciate a little
help, and even the trained eye probably can't tell GTK 3.18 from 3.19
at a glance :-)
This commit is contained in:
Simon Tatham
2017-02-15 19:29:05 +00:00
parent 2fb3e26584
commit fb839a27fb
5 changed files with 39 additions and 6 deletions

View File

@ -32,17 +32,22 @@
#define DEFAULT_CLIPBOARD GDK_SELECTION_CLIPBOARD /* OS X has no PRIMARY */
#define BUILDINFO_PLATFORM "OS X (GTK)"
#define BUILDINFO_GTK
#elif defined NOT_X_WINDOWS
#define BUILDINFO_PLATFORM "Unix (pure GTK)"
#define BUILDINFO_GTK
#else
#define BUILDINFO_PLATFORM "Unix (GTK + X11)"
#define BUILDINFO_GTK
#endif
char *buildinfo_gtk_version(void);
struct Filename {
char *path;
};