X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Ftypes.h;fp=include%2Fwimlib%2Ftypes.h;h=4c85311e2a9c62bebe8e24b48de3edbf91215689;hb=32158cb5b4df58eb71a1986762e5aaf12bce9d30;hp=87f4604267cc94865d805847b7139f7747fc7c1c;hpb=993d197cac3a09508f2afefe0e2a620d7e43fa1a;p=wimlib diff --git a/include/wimlib/types.h b/include/wimlib/types.h index 87f46042..4c85311e 100644 --- a/include/wimlib/types.h +++ b/include/wimlib/types.h @@ -47,6 +47,7 @@ typedef struct WIMStruct WIMStruct; */ typedef size_t machine_word_t; -#define WORDSIZE sizeof(machine_word_t) +#define WORDBYTES sizeof(machine_word_t) +#define WORDBITS (8 * WORDBYTES) #endif /* _WIMLIB_TYPES_H */