mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
don't include malloc.h (bug 776574)
This commit is contained in:
parent
838bb33fe1
commit
c2aee04666
1 changed files with 3 additions and 7 deletions
|
|
@ -35,18 +35,14 @@
|
|||
/*
|
||||
** Author: Eric Veach, July 1994.
|
||||
**
|
||||
** $Date: 2001/11/30 19:35:22 $ $Revision: 1.3 $
|
||||
** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/memalloc.h,v 1.3 2001/11/30 19:35:22 kschultz Exp $
|
||||
** $Date: 2003/07/24 22:41:17 $ $Revision: 1.4 $
|
||||
** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/memalloc.h,v 1.4 2003/07/24 22:41:17 brianp Exp $
|
||||
*/
|
||||
|
||||
#ifndef __memalloc_simple_h_
|
||||
#define __memalloc_simple_h_
|
||||
|
||||
#if defined(__VMS) || defined(darwin)
|
||||
# include <stdlib.h>
|
||||
#else
|
||||
# include <malloc.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
|
||||
#define memRealloc realloc
|
||||
#define memFree free
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue