aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-version.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-version.h')
-rw-r--r--embed/mozilla/mozilla-version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-version.h b/embed/mozilla/mozilla-version.h
index 072c70b5c..3dc260cdf 100644
--- a/embed/mozilla/mozilla-version.h
+++ b/embed/mozilla/mozilla-version.h
@@ -45,6 +45,9 @@
(VERSION4(MOZILLA_MAJOR, MOZILLA_MINOR, MOZILLA_TYPE, MOZILLA_MICRO) == \
VERSION4(major, minor, type, micro))
+#define MOZILLA_IS_BRANCH(major, minor) \
+ (MOZILLA_MAJOR == major && MOZILLA_MINOR == minor)
+
/* Use the following:
*
* 1.4.1 -> MOZILLA_CHECK_VERSION3 (1,4,1)