Index: webrtc/base/nssidentity.h |
diff --git a/webrtc/base/nssidentity.h b/webrtc/base/nssidentity.h |
index 447fc1c7dcc1ad9b5e760850704d1adb3c801081..8a304e9c9f2a2f0bf31502808312c57c534d9b05 100644 |
--- a/webrtc/base/nssidentity.h |
+++ b/webrtc/base/nssidentity.h |
@@ -13,7 +13,13 @@ |
#include <string> |
+// Hack: Define+undefine int64 and uint64 to avoid typedef conflict with NSS. |
+// TODO(kjellander): Remove when webrtc:4497 is completed. |
+#define uint64 foo_uint64 |
+#define int64 foo_int64 |
#include "cert.h" |
+#undef uint64 |
+#undef int64 |
#include "nspr.h" |
#include "hasht.h" |
#include "keythi.h" |