diff options
Diffstat (limited to 'jchuff.c')
-rw-r--r-- | jchuff.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,7 @@ #include "jpeglib.h" #include "jchuff.h" /* Declarations shared with jcphuff.c */ #include <limits.h> +#include <stdint.h> /* * NOTE: If USE_CLZ_INTRINSIC is defined, then clz/bsr instructions will be @@ -376,6 +377,10 @@ dump_buffer (working_state * state) } \ } +#if !defined(_WIN32) && !defined(__WORDSIZE) +#error __WORDSIZE is not defined +#endif + #if __WORDSIZE==64 || defined(_WIN64) #define EMIT_BITS(code, size) { \ |