summaryrefslogtreecommitdiff
path: root/external/nss/clang-cl.patch.0
diff options
context:
space:
mode:
Diffstat (limited to 'external/nss/clang-cl.patch.0')
-rw-r--r--external/nss/clang-cl.patch.010
1 files changed, 5 insertions, 5 deletions
diff --git a/external/nss/clang-cl.patch.0 b/external/nss/clang-cl.patch.0
index bc904218f804..48f0ba85b32a 100644
--- a/external/nss/clang-cl.patch.0
+++ b/external/nss/clang-cl.patch.0
@@ -32,17 +32,17 @@
#include <stdlib.h>
#pragma intrinsic(_rotl, _rotr)
#define PR_ROTATE_LEFT32(a, bits) _rotl(a, bits)
---- nss/lib/certdb/certdb.h
-+++ nss/lib/certdb/certdb.h
-@@ -31,7 +31,7 @@
+--- nss/lib/certdb/certdb.h 2016-02-12 15:36:18.000000000 +0100
++++ nss/lib/certdb/certdb.h 2016-02-23 21:08:34.607903348 +0100
+@@ -30,7 +30,7 @@
#endif
- #define CERTDB_VALID_PEER ((__CERTDB_VALID_PEER) CERTDB_TERMINAL_RECORD)
+ #define CERTDB_VALID_PEER ((__CERTDB_VALID_PEER)CERTDB_TERMINAL_RECORD)
#else
-#ifdef _WIN32
+#if defined _WIN32 && !defined __clang__
#pragma deprecated(CERTDB_VALID_PEER)
#endif
- #define CERTDB_VALID_PEER CERTDB_TERMINAL_RECORD
+ #define CERTDB_VALID_PEER CERTDB_TERMINAL_RECORD
--- nss/lib/util/pkcs11n.h
+++ nss/lib/util/pkcs11n.h
@@ -390,7 +390,7 @@