]> git.lizzy.rs Git - zlib.git/commit
Don't use library or built-in byte swaps.
authorMark Adler <madler@alumni.caltech.edu>
Sat, 3 Mar 2012 08:03:30 +0000 (00:03 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Sat, 3 Mar 2012 08:03:30 +0000 (00:03 -0800)
commit2547c6c81fbf751e22ab7dcafdc1d1b50c8562a3
tree8ea39dcfcd42f1b01af99f616db7ea34b30f5d87
parent513dfcc00ec6c027429504a217a8cb7cb58dbbbf
Don't use library or built-in byte swaps.

Using optimized byte swaps reduced portability for no real benefit,
since they are in parts of the code that represent a tiny fraction
of the execution time.  So a simple definition of a byte swap is
now used.
zutil.h