Index: webrtc/base/nssstreamadapter.h |
diff --git a/webrtc/base/nssstreamadapter.h b/webrtc/base/nssstreamadapter.h |
index 66d381d5551e0791a046c8a070b576dded8a62b9..65ac489a43a9e3f5c9d7bc6b51865fa9aec99f2a 100644 |
--- a/webrtc/base/nssstreamadapter.h |
+++ b/webrtc/base/nssstreamadapter.h |
@@ -14,7 +14,14 @@ |
#include <string> |
#include <vector> |
+// 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 "nspr.h" |
+#undef uint64 |
+#undef int64 |
+ |
#include "nss.h" |
#include "secmodt.h" |