summaryrefslogtreecommitdiff
path: root/www/seamonkey/files/patch-bug824317
blob: 83c1b4d56029acbcf3d3a52b51d25a92a53a7027 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/xpcom/string/public/nsAlgorithm.h b/xpcom/string/public/nsAlgorithm.h
index fa50194a..c5f5737 100644
--- mozilla/xpcom/string/public/nsAlgorithm.h
+++ mozilla/xpcom/string/public/nsAlgorithm.h
@@ -42,7 +42,8 @@ NS_MAX( const T& a, const T& b )
     return a > b ? a : b;
   }
 
-#if defined(_MSC_VER) && (_MSC_VER < 1600)
+#if (defined(_MSC_VER) && (_MSC_VER < 1600)) || \
+    (defined(_GLIBCXX_USE_LONG_LONG) && (!_GLIBCXX_USE_C99 || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC))
 namespace std {
 inline
 long long