Now there is one Wedge() for both environments. Wedge.c has a clearer interface with the wrapper, and #includes a sensible set of headers. The hand-rolled libc functions have been separated out, and memcpy() is no longer used for overlapping ranges.