Support GNU/kFreeBSD, patch by Cyril Brulebois. Thanks.

This commit is contained in:
Thilo Schulz 2011-02-04 17:31:12 +00:00
parent c61ad8a074
commit d2f8b9f4bb
2 changed files with 8 additions and 3 deletions

View file

@ -154,11 +154,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//================================================================= LINUX ===
#ifdef __linux__
#if defined(__linux__) || defined(__FreeBSD_kernel__)
#include <endian.h>
#if defined(__linux__)
#define OS_STRING "linux"
#else
#define OS_STRING "kFreeBSD"
#endif
#define ID_INLINE inline
#define PATH_SEP '/'