Commit ce4c0001 by Jamie Madill

Don't use std::is_fundamental on Android.

This method is unavailable due to being c++11. BUG=angle:773 Change-Id: I995e03c26b5d3103fab963d8fb1eddc5050cf5b5 Reviewed-on: https://chromium-review.googlesource.com/240096Tested-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 5864ac26
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
template <typename T> template <typename T>
void StaticAssertIsFundamental() void StaticAssertIsFundamental()
{ {
#ifndef ANGLE_PLATFORM_APPLE // c++11 STL is not available on OSX or Android
#if !defined(ANGLE_PLATFORM_APPLE) && !defined(ANGLE_PLATFORM_ANDROID)
META_ASSERT(std::is_fundamental<T>::value); META_ASSERT(std::is_fundamental<T>::value);
#else #else
union { T dummy; } dummy; union { T dummy; } dummy;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment