summaryrefslogtreecommitdiff
path: root/src/libtess
diff options
context:
space:
mode:
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>2001-07-20 11:20:32 +0000
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>2001-07-20 11:20:32 +0000
commit7a7bd7ab3520d599745c4078d75799752b5ee8b6 (patch)
treefb8d441be9e5b2161fa6c7e8881025d345391f78 /src/libtess
parent733f053342c86c857917ba0841e72a118c5dfaa1 (diff)
downloadglu-7a7bd7ab3520d599745c4078d75799752b5ee8b6.tar.gz
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/libtess')
-rw-r--r--src/libtess/memalloc.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/libtess/memalloc.h b/src/libtess/memalloc.h
index 6482f24..d7b0ed4 100644
--- a/src/libtess/memalloc.h
+++ b/src/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