summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/q_platform.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qcommon/q_platform.h b/src/qcommon/q_platform.h
index 39d1672c..f04bf433 100644
--- a/src/qcommon/q_platform.h
+++ b/src/qcommon/q_platform.h
@@ -170,14 +170,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//================================================================= LINUX ===
-#if defined(__linux__) || defined(__FreeBSD_kernel__)
+#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
#include <endian.h>
#if defined(__linux__)
#define OS_STRING "linux"
-#else
+#elif defined(__FreeBSD_kernel__)
#define OS_STRING "kFreeBSD"
+#else
+#define OS_STRING "GNU"
#endif
#define ID_INLINE inline