summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/util/pkcs11p.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/lib/util/pkcs11p.h')
-rw-r--r--security/nss/lib/util/pkcs11p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/nss/lib/util/pkcs11p.h b/security/nss/lib/util/pkcs11p.h
index 2e904ee50..1c9201350 100644
--- a/security/nss/lib/util/pkcs11p.h
+++ b/security/nss/lib/util/pkcs11p.h
@@ -13,7 +13,10 @@
* though it's still needed. put in a central file to help merging..
*/
-#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