$OpenBSD$
--- src/extractfuncs/extractfuncs.c.orig	Tue Aug 10 18:17:00 2010
+++ src/extractfuncs/extractfuncs.c	Sat Aug 14 23:56:21 2010
@@ -348,7 +348,7 @@ void AddFunctionName( char *funcname, char *filename, 
 		return;
 	}
 
-#if defined( __linux__ )
+#if defined( __OpenBSD__ )
 	// the bad thing is, this doesn't preprocess .. on __linux__ this
 	// function is not implemented (q_math.c)
 	if ( !Q_stricmp( funcname, "BoxOnPlaneSide" ) ) {
@@ -358,7 +358,7 @@ void AddFunctionName( char *funcname, char *filename, 
 
 	// 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( __OpenBSD__ )
 	if ( !Q_stricmp( funcname, "qmax" ) ) {
 		return;
 	} else if ( !Q_stricmp( funcname, "qmin" ) ) {
