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:
jag@tty.nl 2008-02-07 00:15:50 -08:00
Родитель 8b51d4a0ad
Коммит eb6f4c4b6c
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -56,6 +56,7 @@
#define GFX_NTOHL(x) _byteswap_ulong(x) #define GFX_NTOHL(x) _byteswap_ulong(x)
#define GFX_HAVE_CHEAP_NTOHL #define GFX_HAVE_CHEAP_NTOHL
#else #else
#include "prbit.h"
// A reasonably fast generic little-endian implementation. // A reasonably fast generic little-endian implementation.
#define GFX_NTOHL(x) \ #define GFX_NTOHL(x) \
( (PR_ROTATE_RIGHT32((x),8) & 0xFF00FF00) | \ ( (PR_ROTATE_RIGHT32((x),8) & 0xFF00FF00) | \