From eadd3f29f3df603b9c78ffe4cb9268ade42608f8 Mon Sep 17 00:00:00 2001 From: "jag@tty.nl" Date: Thu, 7 Feb 2008 00:15:50 -0800 Subject: [PATCH] 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. --- gfx/thebes/public/gfxColor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/thebes/public/gfxColor.h b/gfx/thebes/public/gfxColor.h index 8585332956b..54b9a4bccc7 100644 --- a/gfx/thebes/public/gfxColor.h +++ b/gfx/thebes/public/gfxColor.h @@ -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) | \