mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 18:58:10 +02:00
XFree86 fixes (clib macro wrappers)
This commit is contained in:
parent
f2c5296dd7
commit
c20579d651
1 changed files with 14 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: context.c,v 1.180 2002/10/08 23:59:33 brianp Exp $ */
|
||||
/* $Id: context.c,v 1.181 2002/10/09 19:36:24 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
|
@ -77,6 +77,19 @@ int MESA_VERBOSE = 0;
|
|||
int MESA_DEBUG_FLAGS = 0;
|
||||
#endif
|
||||
|
||||
/* XFree86 stuff */
|
||||
#ifdef getenv
|
||||
#undef getenv
|
||||
#endif
|
||||
#ifdef calloc
|
||||
#undef calloc
|
||||
extern void *calloc(size_t, size_t);
|
||||
#endif
|
||||
#ifdef free
|
||||
#undef free
|
||||
extern void free(void *);
|
||||
#endif
|
||||
|
||||
|
||||
static void
|
||||
free_shared_state( GLcontext *ctx, struct gl_shared_state *ss );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue