mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
Bug 414971: Mingw build error: `PR_ROTATE_RIGHT32' was not declared in this scope. r=wtc, sr=pavlov, a=mtschrep When using macros from prbit.h, don't expect others to include it for you.
This commit is contained in:
parent
1be41d8435
commit
2d72a60803
@ -56,6 +56,7 @@
|
||||
#define GFX_NTOHL(x) _byteswap_ulong(x)
|
||||
#define GFX_HAVE_CHEAP_NTOHL
|
||||
#else
|
||||
#include "prbit.h"
|
||||
// A reasonably fast generic little-endian implementation.
|
||||
#define GFX_NTOHL(x) \
|
||||
( (PR_ROTATE_RIGHT32((x),8) & 0xFF00FF00) | \
|
||||
|
Loading…
Reference in New Issue
Block a user