Forked from
gmsh / gmsh
Source project has a limited visibility.
-
Christophe Geuzaine authored
Removed all compile-time depdencies on byte ordering (big- or little- endianness). Replaced them with run-time conversions where necessary (only for packing/unpacking of colors into unsigned ints). Performance hit should be negligeable, but this will allow to compile Universal Binaries on Mac in a single step (instead of having to compile the PPC/big-endian and the i386/little-endian separately, which wouls be a royal pain in the butt).
Christophe Geuzaine authoredRemoved all compile-time depdencies on byte ordering (big- or little- endianness). Replaced them with run-time conversions where necessary (only for packing/unpacking of colors into unsigned ints). Performance hit should be negligeable, but this will allow to compile Universal Binaries on Mac in a single step (instead of having to compile the PPC/big-endian and the i386/little-endian separately, which wouls be a royal pain in the butt).