mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 12:54:15 -04:00
Another attempt at measuring the minimum alignment for a system.
This commit is contained in:
1 parent
62125b10c9
commit
4d4df3cd2b
1 file changed
+6
-1
+6
-1
@@ -32,7 +32,12 @@ struct pool_extent
|
||||
struct pool_extent *next;
|
||||
};
|
||||
|
||||
#define MINALIGN (sizeof (long))
|
||||
struct align_test {
|
||||
void *foo;
|
||||
uint64 bar;
|
||||
};
|
||||
|
||||
#define MINALIGN offsetof(struct align_test, bar)
|
||||
|
||||
alloc_pool_t
|
||||
pool_create(size_t size, size_t quantum,
|
||||
|
||||
Reference in new issue
Block a user