X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=browser_widget.cpp;h=01ce4cbfe308f4da068a96c0b47c448b46d5233d;hb=cd758c798d0c48f8161e5102faf8d862ba76aa2d;hp=3b7a2d442709ccd34fa37048c0cc33ae4f18e4c5;hpb=f7b9532fdf6b345a65c4045b44edde7182d98747;p=videolink.git diff --git a/browser_widget.cpp b/browser_widget.cpp index 3b7a2d4..01ce4cb 100644 --- a/browser_widget.cpp +++ b/browser_widget.cpp @@ -8,10 +8,12 @@ #include +#include "wchar_t_short.h" #include #if MOZ_VERSION_MAJOR == 1 && MOZ_VERSION_MINOR == 9 #include #endif +#include "wchar_t_default.h" #include "xpcom_support.hpp" @@ -530,8 +532,15 @@ browser_widget::initialiser::initialiser() { #if MOZ_VERSION_MAJOR == 1 && MOZ_VERSION_MINOR == 9 static const GREVersionRange gre_versions = { +#if MOZ_VERSION_MICRO == 0 "1.9a", PR_TRUE, - "1.9.*", PR_TRUE + "1.9.1", PR_FALSE +#elif MOZ_VERSION_MICRO == 1 + "1.9.1", PR_TRUE, + "1.9.2", PR_FALSE +#else +#error "version is unsupported, but you could try continuing the pattern above" +#endif }; char path[PATH_MAX]; check(GRE_GetGREPathWithProperties(&gre_versions, 1, 0, 0,