diff options
author | Tim Angus <tim@ngus.net> | 2011-04-23 22:38:25 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:07 +0000 |
commit | 06006eb6930de74c577c87daf6a0f7917e22d578 (patch) | |
tree | 8caec25df040a3f3eddc99b593e51d993b9be1be /src/qcommon/q_platform.h | |
parent | 98438cc3e7d32312bb52b413c12698b67b8cfeb0 (diff) |
* Merge ioq3-r1946
Diffstat (limited to 'src/qcommon/q_platform.h')
-rw-r--r-- | src/qcommon/q_platform.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qcommon/q_platform.h b/src/qcommon/q_platform.h index 4d4d2856..3e9619ee 100644 --- a/src/qcommon/q_platform.h +++ b/src/qcommon/q_platform.h @@ -155,11 +155,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 '/' |