From c7cf105e15dc897685bd4b47aa747f8af86be887 Mon Sep 17 00:00:00 2001 From: psychon Date: Sat, 6 Dec 2008 21:13:14 +0000 Subject: [PATCH] Add VERSION_MAJOR, too (for consistency) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1285 726aef4b-f618-498e-8847-2d620e286838 --- main.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.h b/main.h index 7f8909ac..79db98e0 100644 --- a/main.h +++ b/main.h @@ -11,6 +11,8 @@ // Keep the number in sync with configure.in (and also with configure) #define VERSION 0.063 +// The following defines are for #if comparison (preprocessor only likes ints) +#define VERSION_MAJOR 0 #define VERSION_MINOR 63 // You can add -DVERSION_EXTRA="stuff" to your CXXFLAGS!