diff options
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index bd62f279aad..c3783c624b9 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -1,4 +1,4 @@ -/* $Id: imports.c,v 1.18 2002/08/03 16:19:20 kschultz Exp $ */ +/* $Id: imports.c,v 1.19 2002/10/14 17:08:21 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -84,12 +84,11 @@ static char * CAPI _mesa_getenv(__GLcontext *gc, const char *var) { (void) gc; -/* Whacko XFree86 macro: - */ -#ifdef getenv -#undef getenv -#endif +#ifdef XFree86LOADER + return xf86getenv(var); +#else return getenv(var); +#endif } |