view dmd/rmem.h @ 1408:afecdb8ee962

Fix bug #307 by doing what DMD does: add the arrayop to sc->module->importedFrom instead of sc->module. That way array ops in template instantiations will be semantic3'ed.
author Christian Kamm <kamm incasoftware de>
date Fri, 22 May 2009 10:17:47 +0200
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__