Bug 1371190 - (Rebase)
Bug 1363216 Turn off std::future for MinGW
MinGW doesn't support std::thread without an emulation library (See
Bug 1349912)
We haven't integrated that (yet) so disable std::future for Angle until we do.
MozReview-Commit-ID: 7hxDL3QURdW
--HG--
extra : rebase_source : 152d1b88e602b430a4eaf4e5212f90d756ca8a46
--- a/gfx/angle/src/libANGLE/features.h
+++ b/gfx/angle/src/libANGLE/features.h
@@ -50,16 +50,16 @@
// DISABLED allow precision for uniforms to differ between vertex and fragment shaders
#if !defined(ANGLE_PROGRAM_LINK_VALIDATE_UNIFORM_PRECISION)
#define ANGLE_PROGRAM_LINK_VALIDATE_UNIFORM_PRECISION ANGLE_ENABLED
#endif
// Controls if our threading code uses std::async or falls back to single-threaded operations.
// TODO(jmadill): Enable on Linux once STL chrono headers are updated.
#if !defined(ANGLE_STD_ASYNC_WORKERS)
-#if defined(ANGLE_PLATFORM_WINDOWS)
+#if !defined(__MINGW32__) && defined(ANGLE_PLATFORM_WINDOWS)
#define ANGLE_STD_ASYNC_WORKERS ANGLE_ENABLED
#else
#define ANGLE_STD_ASYNC_WORKERS ANGLE_DISABLED
#endif // defined(ANGLE_PLATFORM_WINDOWS)
#endif // !defined(ANGLE_STD_ASYNC_WORKERS)
#endif // LIBANGLE_FEATURES_H_