]> wimlib.net Git - wimlib/blobdiff - include/wimlib/util.h
Fix building on NetBSD
[wimlib] / include / wimlib / util.h
index 3dc59f454faae2099979af514a7a4994b052a345..12b1b120a46ef0d1be9ee47e975ec1e928ced870 100644 (file)
@@ -26,6 +26,7 @@
 
 /* Round 'v' up to the next 'alignment'-byte aligned boundary.  'alignment' must
  * be a power of 2.  */
+#undef ALIGN   /* NetBSD <sys/param.h> defines this already */
 #define ALIGN(v, alignment)    (((v) + ((alignment) - 1)) & ~((alignment) - 1))
 
 /* Maximum number of bytes that can be allocated on the stack.