diff options
author | Jouk Jansen <joukj@hrem.stm.tudelft.nl> | 2001-07-20 11:20:32 +0000 |
---|---|---|
committer | Jouk Jansen <joukj@hrem.stm.tudelft.nl> | 2001-07-20 11:20:32 +0000 |
commit | 46e6c7ad54776d9434d1a3634420e2a9209ec860 (patch) | |
tree | da4fd67aa87e85bb6b0daa76be30b69e23cb15d5 /src/glu | |
parent | 48f3bdaeb3e60455364efed4f276c1d75263595d (diff) |
Committing in .
Modified Files:
Mesa/si-glu/libtess/memalloc.h
malloc.h is non-standard on OpenVMS. If it is present it only includes
stdlib.h. therefore for VMS malloc.h is replaced by stdlib.h.
----------------------------------------------------------------------
Diffstat (limited to 'src/glu')
-rw-r--r-- | src/glu/sgi/libtess/memalloc.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/glu/sgi/libtess/memalloc.h b/src/glu/sgi/libtess/memalloc.h index 6482f24edb..d7b0ed41fb 100644 --- a/src/glu/sgi/libtess/memalloc.h +++ b/src/glu/sgi/libtess/memalloc.h @@ -35,14 +35,18 @@ /* ** Author: Eric Veach, July 1994. ** -** $Date: 2001/03/17 00:25:41 $ $Revision: 1.1 $ -** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/memalloc.h,v 1.1 2001/03/17 00:25:41 brianp Exp $ +** $Date: 2001/07/20 11:20:32 $ $Revision: 1.2 $ +** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/libtess/memalloc.h,v 1.2 2001/07/20 11:20:32 joukj Exp $ */ #ifndef __memalloc_simple_h_ #define __memalloc_simple_h_ -#include <malloc.h> +#ifdef __VMS +# include <stdlib.h> +#else +# include <malloc.h> +#endif #define memRealloc realloc #define memFree free |