From 5d2053580dcd9379d711d45c89a886343d263584 Mon Sep 17 00:00:00 2001 From: Jamie Wilkinson Date: Sun, 19 May 2002 17:13:44 +0000 Subject: [PATCH] - Added __FreeBSD__ to some locations so that things build properly --- src/gl_rmain.c | 2 +- src/glw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gl_rmain.c b/src/gl_rmain.c index b4640ad..d171795 100644 --- a/src/gl_rmain.c +++ b/src/gl_rmain.c @@ -1317,7 +1317,7 @@ qboolean R_Init( void *hinstance, void *hWnd ) ri.Con_Printf( PRINT_ALL, "...GL_EXT_point_parameters not found\n" ); } -#ifdef __linux__ +#if defined __linux__ || defined __FreeBSD__ if ( strstr( gl_config.extensions_string, "3DFX_set_global_palette" )) { if ( gl_ext_palettedtexture->value ) diff --git a/src/glw.h b/src/glw.h index 91f0efd..38fb147 100644 --- a/src/glw.h +++ b/src/glw.h @@ -30,7 +30,7 @@ #ifndef __GLW_H__ #define __GLW_H__ -#if defined __linux__ || defined __bsd__ || defined __sgi +#if defined __linux__ || defined __bsd__ || defined __sgi || defined __FreeBSD__ typedef struct {