Bug 1034632: Fix suppression of warnings for MOZILLA_PKIX_ENUM_CLASS, r=mmc

--HG--
extra : rebase_source : 962fa75dab803f1d139096fa5d41b4b656e32f86
This commit is contained in:
Brian Smith 2014-07-03 20:41:07 -07:00
parent 8fab5c044b
commit c4cc6ed7fe

View File

@ -34,7 +34,7 @@
// Visual C++ has supported typed enums for longer than that, but using typed
// enums results in C4480: nonstandard extension used: specifying underlying
// type for enum.
#define MOZILLA_PKIX_ENUM_CLASS __pragma(warning(disable: 4480)) enum
#define MOZILLA_PKIX_ENUM_CLASS __pragma(warning(suppress: 4480)) enum
#else
#define MOZILLA_PKIX_ENUM_CLASS enum class
#endif