Support for FreeBSD

This commit is contained in:
Yamagi Burmeister 2011-10-04 10:15:03 +00:00
parent dfe83b50cf
commit 3f35eabf6c

View file

@ -395,7 +395,7 @@ void AddFunctionName (char *funcname, char *filename, tokenList_t *head)
return;
}
#if defined( __linux__ )
#if defined( __linux__ ) || defined( __FreeBSD__ )
// the bad thing is, this doesn't preprocess .. on __linux__ this
// function is not implemented (q_math.c)
if ( !Q_stricmp( funcname, "BoxOnPlaneSide" ) ) {
@ -405,7 +405,7 @@ void AddFunctionName (char *funcname, char *filename, tokenList_t *head)
// NERVE - SMF - workaround for Graeme's predifined MACOSX functions
// TTimo - looks like linux version needs to escape those too
#if defined( _WIN32 ) || defined( __linux__ )
#if defined( _WIN32 ) || defined( __linux__ ) || defined( __FreeBSD__ )
if ( !Q_stricmp(funcname, "qmax") ) {
return;
}