summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/util/pkcs11u.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/lib/util/pkcs11u.h')
-rw-r--r--security/nss/lib/util/pkcs11u.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/nss/lib/util/pkcs11u.h b/security/nss/lib/util/pkcs11u.h
index be949bcd4..64ec2fdb5 100644
--- a/security/nss/lib/util/pkcs11u.h
+++ b/security/nss/lib/util/pkcs11u.h
@@ -11,7 +11,10 @@
* reset any packing set by pkcs11p.h
*/
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(_WINDOWS)
+#ifdef __clang__
+#pragma clang diagnostic ignored "-Wpragma-pack"
+#endif
#ifdef _MSC_VER
#pragma warning(disable : 4103)
#endif