From 46e6c7ad54776d9434d1a3634420e2a9209ec860 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Fri, 20 Jul 2001 11:20:32 +0000 Subject: 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. ---------------------------------------------------------------------- --- src/glu/sgi/libtess/memalloc.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/glu/sgi/libtess/memalloc.h') diff --git a/src/glu/sgi/libtess/memalloc.h b/src/glu/sgi/libtess/memalloc.h index 6482f24edbd..d7b0ed41fb2 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 +#ifdef __VMS +# include +#else +# include +#endif #define memRealloc realloc #define memFree free -- cgit v1.2.3