icculus / Serious-Engine

An open source version of a game engine developed by Croteam for the classic Serious Sam games.
GNU General Public License v2.0
164 stars 21 forks source link

bswap_32() is a linuxism, use inline code instead. #30

Closed Yamagi closed 8 years ago

Yamagi commented 8 years ago

bwap_32() is a function specific to Linux, unavailable on FreeBSD and OSX. Instead of messing with other platform specific functions, #ifdef and so on provide a fast inline implementation.

icculus commented 8 years ago

Thanks!