mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
17 lines
620 B
C++
17 lines
620 B
C++
$NetBSD: patch-mozilla_xpcom_string_public_nsAlgorithm.h,v 1.1 2013/11/12 20:50:51 ryoon Exp $
|
|
|
|
--- mozilla/xpcom/string/public/nsAlgorithm.h.orig 2013-10-23 22:09:22.000000000 +0000
|
|
+++ mozilla/xpcom/string/public/nsAlgorithm.h
|
|
@@ -45,7 +45,10 @@ XPCOM_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__) && __GLIBCXX__ < 20121005) && \
|
|
+ (defined(_GLIBCXX_USE_LONG_LONG) && \
|
|
+ (!_GLIBCXX_USE_C99 || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC)))
|
|
namespace std {
|
|
inline
|
|
long long
|