]> mj.ucw.cz Git - libucw.git/blobdiff - lib/pools.h
Miscellaneous fixes to the word matcher.
[libucw.git] / lib / pools.h
index 861cf82a241e58fda46407d5fe649a926e0eb747..3129c6a7a7bda97bf4ebbbbe4ba5e6382d15f3e5 100644 (file)
@@ -4,7 +4,9 @@
  *     (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
  */
 
-#define POOL_ALIGN 4
+#ifndef POOL_ALIGN
+#define POOL_ALIGN CPU_STRUCT_ALIGN
+#endif
 
 struct mempool {
   struct memchunk *chunks;