From 3187c543eb3ce63dff047d8719b99c9568d35440 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Mon, 24 Feb 2014 10:09:55 -0500 Subject: [PATCH] Bug 967006 - Fix Clang build failure in nICEr. r=abr --- media/mtransport/third_party/nICEr/src/stun/stun_build.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media/mtransport/third_party/nICEr/src/stun/stun_build.h b/media/mtransport/third_party/nICEr/src/stun/stun_build.h index d84af002477b..4793e2f4b4d5 100644 --- a/media/mtransport/third_party/nICEr/src/stun/stun_build.h +++ b/media/mtransport/third_party/nICEr/src/stun/stun_build.h @@ -55,7 +55,8 @@ int nr_stun_build_req_no_auth(nr_stun_client_stun_binding_request_params *params typedef struct nr_stun_client_stun_keepalive_params_ { -#ifdef WIN32 // silly VC++ gives error if no members +#if defined(WIN32) || defined(__clang__) + // VC++ and clang give error and warning respectively if no members int dummy; #endif } nr_stun_client_stun_keepalive_params;