diff options
Diffstat (limited to 'embed/mozilla/mozilla-version.h')
-rw-r--r-- | embed/mozilla/mozilla-version.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-version.h b/embed/mozilla/mozilla-version.h index d59f5e493..072c70b5c 100644 --- a/embed/mozilla/mozilla-version.h +++ b/embed/mozilla/mozilla-version.h @@ -41,6 +41,10 @@ #define MOZILLA_CHECK_VERSION3(a,b,c) MOZILLA_CHECK_VERSION4(a,b,MOZILLA_RELEASE,c) #define MOZILLA_CHECK_VERSION2(a,b) MOZILLA_CHECK_VERSION3(a,b,0) +#define MOZILLA_IS_VERSION4(major, minor, type, micro) \ + (VERSION4(MOZILLA_MAJOR, MOZILLA_MINOR, MOZILLA_TYPE, MOZILLA_MICRO) == \ + VERSION4(major, minor, type, micro)) + /* Use the following: * * 1.4.1 -> MOZILLA_CHECK_VERSION3 (1,4,1) |