mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1034632: Fix suppression of warnings for MOZILLA_PKIX_ENUM_CLASS, r=mmc
--HG-- extra : rebase_source : 962fa75dab803f1d139096fa5d41b4b656e32f86
This commit is contained in:
parent
840e9d16c9
commit
d35cdc1555
@ -34,7 +34,7 @@
|
|||||||
// Visual C++ has supported typed enums for longer than that, but using typed
|
// Visual C++ has supported typed enums for longer than that, but using typed
|
||||||
// enums results in C4480: nonstandard extension used: specifying underlying
|
// enums results in C4480: nonstandard extension used: specifying underlying
|
||||||
// type for enum.
|
// type for enum.
|
||||||
#define MOZILLA_PKIX_ENUM_CLASS __pragma(warning(disable: 4480)) enum
|
#define MOZILLA_PKIX_ENUM_CLASS __pragma(warning(suppress: 4480)) enum
|
||||||
#else
|
#else
|
||||||
#define MOZILLA_PKIX_ENUM_CLASS enum class
|
#define MOZILLA_PKIX_ENUM_CLASS enum class
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user