#71 closed defect (fixed)
Word alignment: machine-dependent
| Reported by: | Paul Price | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | sys | Version: | unspecified |
| Severity: | minor | Keywords: | |
| Cc: |
Description
#define ALIGNED(P) ((void *)((long)(P) & ~03) == (P))
This test for memory alignment is machine- and compiler-dependent.
Note:
See TracTickets
for help on using tickets.

Removed the alignment checking code, as it is not a requirement. Compile will
align the allocations automagically on Linux (as well as many other UNIX-ish
systems) and no code exists to guarentee any alignment on other systems anyway.