aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.win32
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-18 21:52:00 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-18 21:52:00 +0000
commitd8a0279ea08c51b1f81375fe3d97f2fcab6c4fdc (patch)
tree078ba53fd2e3ef663be95f988e73e6dcb07f44e6 /config.h.win32
parent8967d312aded15f7cd68f6802b9a5b49549e5e93 (diff)
From Chris Maynard via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6134 :
Add VERSION_MAJOR, VERSION_MINOR, and VERSION_MICRO to the config.h on Windows (actually Chris' patch included VERSION_BUILD and VERSION_EXTRA but I've left those out to match what we have on *NIX now). svn path=/trunk/; revision=44988
Diffstat (limited to 'config.h.win32')
-rw-r--r--config.h.win325
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h.win32 b/config.h.win32
index c1acfd936b..bfeb73a076 100644
--- a/config.h.win32
+++ b/config.h.win32
@@ -255,6 +255,11 @@
/* Version number of package */
#define VERSION "@VERSION@"
+/* Broken down version */
+#define VERSION_MAJOR @VERSION_MAJOR@
+#define VERSION_MINOR @VERSION_MINOR@
+#define VERSION_MICRO @VERSION_MICRO@
+
/* We shouldn't need this under Windows but we'll define it anyway. */
#define HTML_VIEWER "mozilla"