X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Futil.h;fp=include%2Fwimlib%2Futil.h;h=12b1b120a46ef0d1be9ee47e975ec1e928ced870;hb=b6223f9fdee97d0a9ee53a3eae984952a8e5ed02;hp=3dc59f454faae2099979af514a7a4994b052a345;hpb=06be73db2299bf580cfc4197099bce8547472825;p=wimlib diff --git a/include/wimlib/util.h b/include/wimlib/util.h index 3dc59f45..12b1b120 100644 --- a/include/wimlib/util.h +++ b/include/wimlib/util.h @@ -26,6 +26,7 @@ /* Round 'v' up to the next 'alignment'-byte aligned boundary. 'alignment' must * be a power of 2. */ +#undef ALIGN /* NetBSD defines this already */ #define ALIGN(v, alignment) (((v) + ((alignment) - 1)) & ~((alignment) - 1)) /* Maximum number of bytes that can be allocated on the stack.