view dmd/rmem.h @ 1163:ea52660f828b

Emit function bodies before generating the module info to make sure static ctors are collected correctly. Fixes run/constructor_03.
author Christian Kamm <kamm incasoftware de>
date Sat, 28 Mar 2009 20:45:33 +0100
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__