view dmd/rmem.h @ 1647:638a823ace45

Strange workaround for returning from within 'void main()'. The new dmdfe sets the ReturnStatement->exp to null. Fixed bug #391.
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Wed, 10 Mar 2010 19:35:14 -0700
parents b30fe7e1dbb9
children
line wrap: on
line source

#ifndef __RMEM_H__
#define __RMEM_H__

// jam memory stuff here

#include "mem.h"

#if (defined (__SVR4) && defined (__sun))
#include <alloca.h>
#endif

#ifdef __MINGW32__
#include <malloc.h>
#endif

#endif // __RMEM_H__