Bug 820172 - Fix android build when building with gcc 4.6. r=ehsan
This commit is contained in:
@@ -101,8 +101,8 @@ class autoJArray {
|
||||
length = other.length;
|
||||
}
|
||||
#if defined(MOZ_HAVE_CXX11_NULLPTR)
|
||||
# if defined(__clang__)
|
||||
// clang on OS X 10.7 does not have std::nullptr_t
|
||||
# if defined(__clang__) || defined(__ANDROID__)
|
||||
// clang on OS X 10.7 and gcc-4.6 on android does not have std::nullptr_t
|
||||
typedef decltype(nullptr) jArray_nullptr_t;
|
||||
# else
|
||||
// decltype(nullptr) does not evaluate to std::nullptr_t on GCC 4.6.3
|
||||
|
||||
Reference in New Issue
Block a user