mirror of
https://github.com/yquake2/extractfunctions.git
synced 2024-11-12 23:44:31 +00:00
Support for FreeBSD
This commit is contained in:
parent
dfe83b50cf
commit
3f35eabf6c
1 changed files with 2 additions and 2 deletions
|
@ -395,7 +395,7 @@ void AddFunctionName (char *funcname, char *filename, tokenList_t *head)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined( __linux__ )
|
#if defined( __linux__ ) || defined( __FreeBSD__ )
|
||||||
// the bad thing is, this doesn't preprocess .. on __linux__ this
|
// the bad thing is, this doesn't preprocess .. on __linux__ this
|
||||||
// function is not implemented (q_math.c)
|
// function is not implemented (q_math.c)
|
||||||
if ( !Q_stricmp( funcname, "BoxOnPlaneSide" ) ) {
|
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
|
// NERVE - SMF - workaround for Graeme's predifined MACOSX functions
|
||||||
// TTimo - looks like linux version needs to escape those too
|
// 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") ) {
|
if ( !Q_stricmp(funcname, "qmax") ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue