pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/47722



The following reply was made to PR pkg/47722; it has been noted by GNATS.

From: Onno van der Linden <o.vd.linden%quicknet.nl@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/47722
Date: Mon, 8 Apr 2013 22:15:05 +0200

 From https://bug824317.bugzilla.mozilla.org/attachment.cgi?id=695312
 
 diff --git a/xpcom/string/public/nsAlgorithm.h 
b/xpcom/string/public/nsAlgorithm.h
 index fa50194a..c5f5737 100644
 --- a/xpcom/string/public/nsAlgorithm.h
 +++ b/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
 
 
 Works for me.
 
 Onno
 


Home | Main Index | Thread Index | Old Index