Committing in .
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>
Fri, 20 Jul 2001 11:20:32 +0000 (11:20 +0000)
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>
Fri, 20 Jul 2001 11:20:32 +0000 (11:20 +0000)
 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

index 6482f24..d7b0ed4 100644 (file)
 /*
 ** 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