summaryrefslogtreecommitdiff
path: root/src/qcommon/q_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon/q_platform.h')
-rw-r--r--src/qcommon/q_platform.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qcommon/q_platform.h b/src/qcommon/q_platform.h
index e6f50eef..4ce1fb56 100644
--- a/src/qcommon/q_platform.h
+++ b/src/qcommon/q_platform.h
@@ -176,6 +176,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <sys/types.h>
#include <machine/endian.h>
+#ifndef __BSD__
+ #define __BSD__
+#endif
+
#if defined(__FreeBSD__)
#define OS_STRING "freebsd"
#elif defined(__OpenBSD__)