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:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user