Bug 923170 - Require GCC 4.6.x before enabling strong enum support. r=Waldo

This commit is contained in:
Gian-Carlo Pascutto 2013-10-08 15:25:13 -04:00
parent 10193a209f
commit 73c91107c3
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ PreparePatternForUntiledDrawing(gfxPattern* aPattern,
aDeviceToImage.xy == 0.0 && aDeviceToImage.yx == 0.0;
GraphicsFilter filter =
isDownscale ? aDefaultFilter : GraphicsFilter::FILTER_FAST;
isDownscale ? aDefaultFilter : (const GraphicsFilter)GraphicsFilter::FILTER_FAST;
aPattern->SetFilter(filter);
// Use the default EXTEND_NONE

View File

@ -28,7 +28,7 @@
# endif
#elif defined(__GNUC__)
# if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
# if MOZ_GCC_VERSION_AT_LEAST(4, 5, 1)
# if MOZ_GCC_VERSION_AT_LEAST(4, 6, 3)
# define MOZ_HAVE_CXX11_ENUM_TYPE
# define MOZ_HAVE_CXX11_STRONG_ENUMS
# endif