mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
8f98ecc84c
--HG-- extra : rebase_source : f9d9d7772decee36a27ef09eb018b9912bf7bf6b
13 lines
417 B
C
13 lines
417 B
C
#include "mozilla/Assertions.h"
|
|
|
|
#include "nsError.h"
|
|
|
|
/*
|
|
* No reason to pull in Assertions.h for every single file that includes
|
|
* nsError.h, so let's put this in its own .c file instead of in the .h.
|
|
*/
|
|
MOZ_STATIC_ASSERT(((nsresult)0) < ((nsresult)-1),
|
|
"nsresult must be an unsigned type");
|
|
MOZ_STATIC_ASSERT(sizeof(nsresult) == sizeof(uint32_t),
|
|
"nsresult must be 32 bits");
|