mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 895322 - Part 4: Only use MOZ_STATIC_ASSERT in mar.h when we're compiling C code; r=Waldo
--HG-- extra : rebase_source : 9180550b66311f339e9ea46546aa75cab3d8c92b
This commit is contained in:
parent
7be47235e6
commit
853dd82f0f
@ -21,7 +21,11 @@ extern "C" {
|
||||
* code in tool/mar.c.
|
||||
*/
|
||||
#define MAX_SIGNATURES 8
|
||||
#ifdef __cplusplus
|
||||
static_assert(MAX_SIGNATURES <= 9, "too many signatures");
|
||||
#else
|
||||
MOZ_STATIC_ASSERT(MAX_SIGNATURES <= 9, "too many signatures");
|
||||
#endif
|
||||
|
||||
struct ProductInformationBlock {
|
||||
const char *MARChannelID;
|
||||
|
Loading…
Reference in New Issue
Block a user