diff --git a/modules/libjar/nsZipArchive.h b/modules/libjar/nsZipArchive.h index 3efb4e078df4..c1b5730487e5 100644 --- a/modules/libjar/nsZipArchive.h +++ b/modules/libjar/nsZipArchive.h @@ -57,7 +57,7 @@ #include "nsILocalFile.h" #include "mozilla/FileUtils.h" -#if defined(XP_WIN) +#if defined(XP_WIN) && defined(_MSC_VER) #define MOZ_WIN_MEM_TRY_BEGIN __try { #define MOZ_WIN_MEM_TRY_CATCH(cmd) } \ __except(GetExceptionCode()==EXCEPTION_IN_PAGE_ERROR ? \